diff options
author | Axel Bojer <axelb@skolelinux.no> | 2007-05-12 15:21:59 +0000 |
---|---|---|
committer | Axel Bojer <axelb@skolelinux.no> | 2007-05-12 15:21:59 +0000 |
commit | f314b0a05a7671b91ea7aff3b45a9672f7713e77 (patch) | |
tree | b7476a8744d78e288882f67ec18ef4d6155fe0a7 | |
parent | bdf0f9de83480473a82d5bdc48ff1b732516af6d (diff) | |
download | homepage-f314b0a05a7671b91ea7aff3b45a9672f7713e77.tar.gz homepage-f314b0a05a7671b91ea7aff3b45a9672f7713e77.tar.bz2 homepage-f314b0a05a7671b91ea7aff3b45a9672f7713e77.tar.xz |
sjekk status ogsaa
-rw-r--r-- | sendOrd.php | 5 |
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>"; |