All pastes #2046390 Raw Edit

Mine

public php v1 · immutable
#2046390 ·published 2011-04-14 13:49 UTC
rendered paste body
$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 "<div class='view_qs_left_inner' align='center'> " + mysql_error() + " <br></div>";	}