$sql3 = "INSERT INTO `atw_content` (`lessonIndex`, `fact`, `question`, `answer`, `wrongAnswer1`, `wrongAnswer2`, `wrongAnswer3`, `questionDifficulty`) VALUES (1, '$fact', '$qs', '$ans', '$op1', '$op2', '$op3', '$diff_level');"; $result3 = mysql_query($sql3); if($result3){ echo 'Question has been added to the table multichoice_qs\n'; } else{ echo "