Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
dvprog15 [2016-02-09 09:49] Daniel Viström |
dvprog15 [2017-09-01 14:54] 127.0.0.1 external edit |
||
---|---|---|---|
Line 21: | Line 21: | ||
if(empty($_POST[' | if(empty($_POST[' | ||
- | $message = 'Du har inte angett namn.< | + | $message = 'Du har inte angett namn.< |
$ok = false; | $ok = false; | ||
} | } | ||
if($_POST[' | if($_POST[' | ||
- | $message = 'Du får inte ange detta namn.< | + | $message = 'Du får inte ange detta namn.< |
$ok = false; | $ok = false; | ||
} | } | ||
if ($ok == true){ | if ($ok == true){ | ||
- | | + | |
| | ||
- | | + | |
} | } | ||
} | } | ||
Line 44: | Line 44: | ||
include(' | include(' | ||
- | echo $message . '< | + | echo $message . '< |
// Skickar med ett " | // Skickar med ett " | ||
Line 50: | Line 50: | ||
echo ' | echo ' | ||
<form method=" | <form method=" | ||
- | <input type=" | + | |
- | <input type=" | + | <input type=" |
<input type=" | <input type=" | ||
</ | </ |