include '../appcode/init.php';
include '../config.php';
if (isset($_REQUEST['pid'])) { $pid = $_REQUEST['pid']; } else { $pid = $_POST['pid']; }
if ($pid != '') {
$sel_test="SELECT * FROM ce_test where post_name = '".$pid . "' ";
$rs_test=mysql_query($sel_test,$link);
$rows_test=mysql_fetch_array($rs_test);
$test_idP = $rows_test['test_id'];
$test_name = $rows_test['test_name'];
$test_desc = $rows_test['test_desc'];
$cid = $rows_test['cid'];
$post_name = $rows_test['post_name'];
$tid = $test_idP;
}
$turl = "General-Knowledge";
if ($test_name == '' ) { $HeadT = "General Knowledge" ; } else { $HeadT = $test_name ; }
$HeadD = $test_desc." Elementary English Grammar Test is an application to help you enhance your English expertise. A great tool for any GRE, TOEFL, IELTS, SAT, GMAT, MBA, CAT and other Competitive Exams aspirant.". $test_id ;
$tName = $test_name ;
include '../header.php' ;
?>
if ($test_desc != '' ) { ?>
Warning: Undefined variable $test_desc in /home/u305548200/domains/examaxe.com/public_html/appsrc/General-Knowledge.php on line 28
}?>
if ($tid != '') {
if (isset($_POST['quest'])) { include '../appcode/result2.php'; }
$cond_sql = " b.test_id = ". $tid ;
if ($attempt < $totalQ) { include '../appcode/question2.php'; }
}
?>
General Knowledge
$cnt=0;
if ($test_idP == '') {
$lis_test="SELECT * FROM ce_test where cid in ( 6 ) order by test_id desc ";
} else {
$lis_test="SELECT * FROM ce_test where cid in ( 6 ) and test_id < ".$test_idP." order by test_id limit 20 ";
}
$rs_lis_test=mysql_query($lis_test,$link);
while($rows_lis_test=mysql_fetch_array($rs_lis_test)) {
$test_id1 = $rows_lis_test['test_id'];
$test_name1 = $rows_lis_test['test_name'];
$post_name1 = $rows_lis_test['post_name'];
$cnt++;
if ($cnt % 2 == 0) { $bgc = "f1"; } else { $bgc = "f2"; }
?>
Warning: Undefined variable $cnt in /home/u305548200/domains/examaxe.com/public_html/appsrc/General-Knowledge.php on line 55
.
Warning: Undefined variable $test_name1 in /home/u305548200/domains/examaxe.com/public_html/appsrc/General-Knowledge.php on line 55
} ?>
include '../footer.php'; ?>