Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
amprog_05_ex2 [2017-06-08 09:31] Daniel Viström |
amprog_05_ex2 [2022-07-18 13:20] (current) |
||
---|---|---|---|
Line 9: | Line 9: | ||
// | // | ||
// | // | ||
- | \\Sessionvariablerna finns kvar tills webbläsaren stängs, eller tills man " | + | //Sessionvariablerna finns kvar tills webbläsaren stängs, eller tills man " |
Line 23: | Line 23: | ||
$i=0; | $i=0; | ||
while ($i < count($_SESSION[' | while ($i < count($_SESSION[' | ||
- | echo $_SESSION[' | + | echo $_SESSION[' |
+ | // OBS! på index ' | ||
$i++; | $i++; | ||
} | } | ||
Line 29: | Line 30: | ||
<form method=" | <form method=" | ||
- | Skriv nåt: <input type=" | + | Skriv nåt: <input type=" |
- | <input type=" | + | <input type=" |
</ | </ | ||