why doesnt this work?
i get the following error
$quizselected = $_POST["selectedquiz"];
$qno = $_POST["QNO"];
$sqldelete = "DELETE * FROM $quizselected WHERE QNO = '$qno';";
$sql_result = mysql_query($sqldelete) or die("Couldn't delete from database, please contact your system administrator: $sqldelete - " . mysql_error());
Couldn't delete from database, please contact your system administrator: DELETE * FROM privatequiz WHERE QNO = 2; - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM privatequiz WHERE QNO = 2' at line 1
cheers for any help