"); //onSubmit=\"return confirm('Are you ready to submit your answers?');\" while($question = mysql_fetch_array($questionList)) { echo ("
\n"); echo ("".$question['Question_Name'].":
\n"); echo("".$question['Question_Description']."
\n"); $answerList = mysql_query("SELECT * FROM gforum_SurveyAnswer WHERE Question_ID_FK = ". $question['Question_ID']." ORDER BY Answer_Name;"); while($answer = mysql_fetch_array($answerList)) { $temp = "qid".$question['Question_ID']; $selected = ""; if ($answer['Answer_ID'] == $_POST[$temp]) { $selected = "checked"; } echo ("".$answer['Answer_Name']."
\n"); } //echo ("No Vote
"); echo ("
\n"); } $ip = $_SERVER['REMOTE_ADDR']; echo ("\n"); echo ("\n"); echo ("

"); echo (""); ?>