aboutsummaryrefslogtreecommitdiffstats
path: root/sendOrd.php
diff options
context:
space:
mode:
Diffstat (limited to 'sendOrd.php')
-rw-r--r--sendOrd.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/sendOrd.php b/sendOrd.php
index 75408d1..fa72caa 100644
--- a/sendOrd.php
+++ b/sendOrd.php
@@ -27,6 +27,11 @@ $error = '';
// }
// Sjekk at all nødvendig informasjon er oppgitt
+if(!$HTTP_POST_VARS['status'] == '')
+{
+ $error .= "Du må angi om ordet er rett eller feil stavet.\n" . "<br>";
+}
+
if($HTTP_POST_VARS['navn'] == '' || $HTTP_POST_VARS['e-post'] == '')
{
$error .= "Du må oppgi både navn og e-post.\n" . "<br>";