//Insert Quiz information into database
$query = "INSERT INTO `question` (`quiz_id`,`question_id`, `question`, `a`, `b`, `c`, `d`, `key`)" .
// Not entering the correct quiz_id
"VALUES ( last_insert_id(), NULL, '$q', '$a', '$b', '$c', '$d', '$key')";
Did I construct the table wrong for this or is there a way around it?

New Topic/Question
Reply



MultiQuote





|