Admin area - edit the quiz
Question added to quiz.

"; include "qinsert.php"; } else if($update) { $sql = "UPDATE $table SET question='$question',opt1='$opt1',opt2='$opt2',opt3='$opt3',answer='$answer' WHERE id=$id"; $result = mysql_query($sql); echo "

The quiz has been succesfully updated.

\n"; } else if($id) { $result = mysql_query("SELECT * FROM $table WHERE id=$id",$db); $myrow = mysql_fetch_array($result); ?>
"> Question:
" size="50">
Option 1:
" size="30">
Option 2:
" size="30">
Option 3:
" size="30">
Answer (must be identical to correct option):
" size="30">


Question:

Option 1:

Option 2:

Option 3:

Answer (must be identical to correct option):


Back to list of quiz questions