Your IP : 3.142.195.79


Current Path : /home/lentoinv/churchmr.com/report/
Upload File :
Current File : /home/lentoinv/churchmr.com/report/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());
							
}					
							?>

?>