fetch_array($db->query("Select * from college_profile ORDER BY id DESC LIMIT 1")); $class=$_GET['class']; $session=$_GET['session']; $strm_rep=$_GET['strm']; $catg=$_GET['catg']; $gen=$_GET['gen']; $yr_rep=$_GET['yr_rep']; $radio=$_GET['sel']; $str="Select DISTINCT subject from admission"; $str_date="Select * from admission_CORRECT "; $k=0; global $db; /* if($class!="All" ){ if($k==0){ $str=$str." where class='$class' "; $str_date=$str_date." where class='$class' "; $k=1; }else{ $str=$str." and class='$class' "; $str_date=$str_date." and class='$class' "; } } if($catg!="All" ){ if($k==0){ $str=$str." where catg='$catg' "; $str_date=$str_date." where catg='$catg' "; $k=1; }else{ $str=$str." and catg='$catg' "; $str_date=$str_date." and catg='$catg' "; } } if($gen!="All" ){ if($k==0){ $str=$str." where gender='$gen' "; $str_date=$str_date." where gender='$gen' "; $k=1; }else{ $str=$str." and gender='$gen' "; $str_date=$str_date." and gender='$gen' "; } } if($yr_rep!="All" ){ if($k==0){ $str=$str." where year=$yr_rep "; $str_date=$str_date." where year=$yr_rep "; $k=1; }else{ $str=$str." and year=$yr_rep "; $str_date=$str_date." and year=$yr_rep "; } } if($session!="All" ){ if($k==0){ $str=$str." where session='$session' "; $str_date=$str_date." where session='$session' "; $k=1; }else{ $str=$str." and session='$session' "; $str_date=$str_date." and session='$session' "; } } if($session!="All" ){ if($k==0){ $str=$str." where stream='$strm_rep' "; $str_date=$str_date." where stream='$strm_rep' "; $k=1; }else{ $str=$str." and stream='$strm_rep' "; $str_date=$str_date." and stream='$strm_rep' "; } }*/ //echo $str_date; $res=$db->query($str_date); ?>
fetch_array($res)){ ?>
Identity Card :
' height="100" width="75" align="right" />
Name:
Father Name:
Class:  
Student ID:  
Mobile:
Address:
barcode_text_size = 5; // set barcode bar thickness (thick bars) $bc->barcode_bar_thick = 4; // set barcode bar thickness (thin bars) $bc->barcode_bar_thin = 2; //echo $row['stud_id']; // save barcode GIF file $bc->draw("barcode".$c.".gif"); //echo "gyan"; ?> a
Principal.

Chief Proctor.