Forget delete some debug, sorry. :-)

This commit is contained in:
stronk7
2003-08-03 16:41:31 +00:00
parent 13d0fb4bbf
commit e5fc599647
-2
View File
@@ -204,13 +204,11 @@
//If the question exists, only record its id
if ($question_exists) {
$newid = $question_exists->id;
echo $question->name." exists";
$creatingnewquestion = false;
//Else, create a new question
} else {
//The structure is equal to the db, so insert the quiz_questions
$newid = insert_record ("quiz_questions",$question);
echo $question->name." not exists";
$creatingnewquestion = true;
}