Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dvprog_10 [2019-04-15 09:23]
Daniel Viström
dvprog_10 [2022-07-18 13:20]
Line 1: Line 1:
-====== Tips till gästboken: Header ====== 
- 
-En header kan användas för att ladda om sidan (och tömma $_POST). 
- 
-<code> 
-header('location: index.php'); 
-exit; 
-</code> 
- 
-En header måste ligga innan något skrivs ut på sidan (även <html>-tagg eller include-fil).