Your IP : 18.226.169.169


Current Path : /home/lentoinv/churchmr.com/dclm/
Upload File :
Current File : /home/lentoinv/churchmr.com/dclm/dfind.php

<?php     session_start(); ob_start();
		error_reporting(0); 
	@ini_set('display_error', 0);    include("../cludes/connect.inc.php");
	
	$page = 17;
	  
	  
/*
$ra = $db->query("SELECT * FROM datt WHERE day = 'Sun' ") or die(mysqli_error());
while($da=mysqli_fetch_array($ra)){
$sn=$da['sn'];
$ww=$da['ww'];
$wk=$ww-1;

			  $query=$db->query("UPDATE datt SET z='$wk' WHERE sn='$sn' " )or die(mysqli_error());
			 // $query=$db->query("UPDATE datt SET z='$ww' WHERE sn='$sn' " )or die(mysqli_error());
							
}
*/		
	
$ra = $db->query("SELECT * FROM report WHERE rid='$rid' AND psn=4 ") or die(mysqli_error());
while($da=mysqli_fetch_array($ra)){
$sn=$da['sn'];
$ww=$da['ww'];
$wk=$ww-1;

			//$query=$db->query("UPDATE report SET wk='$wk' WHERE sn='$sn' " )or die(mysqli_error());
			$query=$db->query("UPDATE report SET wk='$ww' WHERE sn='$sn' " )or die(mysqli_error());
							
}					
							?>

?>