X-Git-Url: http://git.treefish.org/banana.git/blobdiff_plain/8db41c98817b1b48532dc3cebf4bea166e42bb70..98bd1a7add3a56c08fb03293824e392b6d871613:/submit.php diff --git a/submit.php b/submit.php index aabc3fe..c98678a 100644 --- a/submit.php +++ b/submit.php @@ -5,7 +5,7 @@ if ( ! isset($SESSIONS_next) ) { block("red", "submission closed"); - break; + exit; } if(isset($_POST['submit']) && $_POST['mnumber']!="") { @@ -21,11 +21,11 @@ print 'You already submitted results for this session'; print ''; print "You can only submit your calculated examples once!"; - break; + exit; } $excount = count($exchecked); - $donestring = implode(', ', $exchecked); + $donestring = implode(',', $exchecked); $db->query("INSERT INTO workdone (mnumber,session,manydone,thisdone) VALUES (\"$mnumber\", \"$sessionid\", \"$excount\", \"$donestring\")"); @@ -33,7 +33,7 @@ print ''; print ''; print '
submitted
'; - break; + exit; } ?>