All pastes #443594 Raw Edit

Someone

public text v1 · immutable
·published 2007-04-16 21:47 UTC
rendered paste body
	if (isset($_POST['quizid']))
	{
		$res = mysql_query("SELECT * FROM `questiontable` WHERE `quizid` = '$quizid'");
		if (!mysql_num_rows($res) == 0)
		{
			while($row = mysql_fetch_array($res))
			{
				ques[] = $row['questionid'];
			}
		}

	}