Class 12 - Biology
Organisms and Populations
MCQ
Q&A
if (!isset($cond_sql)) {$cond_sql = " 1=1 ";}
if (isset($_REQUEST['Test'])) { $Test = $_REQUEST['Test']; }
$q_cnt=mysqli_query($link, "SELECT count(*) as cnt FROM mu_question a, mu_chapter b WHERE a.chp_id = b.chp_id AND ".$cond_sql." ");
$q_cnt1=mysqli_fetch_assoc($q_cnt);
$cnt =$q_cnt1['cnt'];
$quiz_cnt = floor($cnt / 10) ;
?>
if ($tName != '' ){ ?>
} ?>
Quiz Index
0 questions in tests. Each test contains 10 questions.
$cc=1;
for ($qi=1; ($qi<=$quiz_cnt); $qi++)
{
?>
} ?>
Multiple Choice Questions