Question Deleted Successfully
Question Updated Successfully
Export
Add User
| Add Question By Bulk Upload | Add Single Question |
| ID |
Question |
Subject |
Paper |
Topic |
Sub Topic |
Action |
1)
{
$pagination .= "Previous";
$pagination.=" ";
}
for($i = 1; $i <=$total_pages; $i++)
{
if(($page) == $i)
{
$pagination .= $i;
$pagination.=' ';
}
else
{
$pagination .= "$i";
$pagination.=' ';
}
}
if($page < $total_pages)
{
$pagination .= "Next";
$pagination.=" ";
}
$qry_contact.=" limit $from,$max_results";
$qry_contact; //Limit print//
$result=mysql_query($qry_contact);
//print_r($qry_contact); //Display Result//
////////////////////////////////End pagination////////////////////////////////////
if(mysql_num_rows($result)>0)
{
$inc=1;
while($row_contact_details=mysql_fetch_array($result))
{
$id = $row_contact_details['id'];
$question = $row_contact_details['question'];
$status = $row_contact_details['status'];
if($subject_id = $row_contact_details['subject_id'])
{
$res1 = mysql_query("select * from exam_subject_master where id=".$subject_id."");
$ress1 = mysql_fetch_array($res1);
//print_r($ress);
$subject_name = $ress1['subject'];
}
if($topic_id = $row_contact_details['topic_id'])
{
$res2 = mysql_query("select * from exam_topic where id=".$topic_id."");
$ress2 = mysql_fetch_array($res2);
//print_r($ress);
$topic_name = $ress2['name'];
}
if($sub_topic_id = $row_contact_details['sub_topic_id'])
{
$res3 = mysql_query("select * from exam_sub_topic where id=".$sub_topic_id."");
$ress3 = mysql_fetch_array($res3);
//print_r($ress);
$sub_topic_name = $ress3['name'];
}
if($paper_id = $row_contact_details['paper_id'])
{
$res3 = mysql_query("select * from exam_paper where id=".$paper_id."");
$ress3 = mysql_fetch_array($res3);
//print_r($ress);
$paper_name = $ress3['paper_name'];
}
/////////////////////////////////////////////////////
?>
|
|
|
|
|
|
|
| No data found |