Location: PHPKode > projects > Nukequiz > html/modules/Nukequiz/admin/NQAModifyQuestionSave.php
<?php
/*****************************************************************/
/* Nukequiz (tm)    v 3.1.0                                		 */
/* By: Kissoftware (hide@address.com)      		     */
/* http://www.kissoftware.org.uk                           		 */
/* http://www.kissoftware.co.uk                       		     */
/* Copyright © 2003-2008 by Kissoftware         				 */
/* See Docs For Information & Credits                 			 */
/* For More information Visit Forums Or The Online Help Manual	 */
/*****************************************************************/
$question = nl2br(stripslashes(FixQuotes(check_html($question, "nohtml"))));
$qexplain = nl2br(stripslashes(FixQuotes(check_html($qexplain, "nohtml"))));
if(isset($ismcq)) $ismcq=1; else $ismcq=0;
if(isset($ismultiple)) $ismultiple=1; else $ismultiple=0;
if(isset($isoe)) $isoe=1; else $isoe=0;
if ($question == ""){
include('header.php');
logoheader();
OpenTable();
echo "<br><center>"._NQ_ENTERSUBQUESTION."<br><br>"._NQ_CHECKQUESTIONTYPE."<br><br>"._GOBACK."<br><br></center>";
CloseTable();
include('footer.php');
exit();
}
if(!$qexplain) { $qexplain = ""._NQ_QEXPLAIN."";}
if (!$db->sql_query("UPDATE ".$prefix."_nquiz_questions SET ismcq='$ismcq', ismultiple='$ismultiple', isoe='$isoe', question='$question', sol1='$sol1', sol2='$sol2', sol3='$sol3', sol4='$sol4', answer='$answer', points='$points', qexplain='$qexplain', file='$quesfile' WHERE quesid='$quesid'")){
die (""._NQ_DBERRORTABLE."_nquiz_questions");
}
Header("Location: ".$admin_file.".php?op=nqmodifyquiz&amp;qid=$qid");
?>
Return current item: Nukequiz