ok

Mini Shell

Direktori : /home/ngwcolle/public_html/LIBRARY-NGWC/admin/ajax/
Upload File :
Current File : //home/ngwcolle/public_html/LIBRARY-NGWC/admin/ajax/getlpatronlist.php

<?php
// session_start();
error_reporting(0);
// include('../includes/config.php');
include('../includes/config.php');
if(isset($_POST["admyear"])){
	$subid=!empty($_POST['admyear'])?$_POST['admyear']:'';
	    // $admyear_id=!empty($_POST['admyear'])?$_POST['admyear']:'';
	$resultuser = mysqli_query($con,"SELECT * FROM tbl_students where patrontype='$subid' and status='1'");
	// $yy=substr($admyear_id, -2);
	?>
	<option value="">Select Roll No/Emp ID</option>
	<?php
while($row = mysqli_fetch_array($resultuser)) {
?>
<option value="<?php echo $row["rollno"];?>"><?php echo $row["stname"]."[".$row["rollno"]."]";?></option>
<?php
}
}
?>

Zerion Mini Shell 1.0