HOME


Mini Shell 1.0
DIR:/home/drsekaran/public_html/admin/pages/master/action/
Upload File :
Current File : /home/drsekaran/public_html/admin/pages/master/action/dorder.php
<?php
ob_start();
session_start();
include("../../../config.php");
$dte=date('d/m/Y');
$dtdoc=date('Y-m-d');
$dteE=date('Y-m-d h:i:s');
$added_by=$_SESSION['user'];
$added_on=date('Y-m-d h:i:s');


$sql=mysqli_query($conn,"select * from research where restype='M.Tech Guidance' ORDER BY convert(`yeaar`, decimal) asc");
$x=0;
while($rw=mysqli_fetch_array($sql)){
$x++;


	$sqlBl="UPDATE research SET ";

	$sqlBl=$sqlBl."dorder='".$x."'";

	$sqlBl=$sqlBl." where id='".$rw['id']."'";
	$UsQuery=mysqli_query($conn,$sqlBl);
}
?>