Your IP : 216.73.216.48
<?php
include("./conn.php");
$chkusr=mysqli_query($db, "SELECT * FROM `q01` WHERE `ui`='1' LIMIT 1");
while ($rchkusr=mysqli_fetch_row($chkusr))
{
$mod=$rchkusr[2];
$modex=explode("|",$mod);
$repl=count($modex);
$repl--;
$mod="";
$i=1;
while ($i<$repl)
{
$mod.="".$modex[$i]."|";
$i++;
}
$mod.="".$modex[0]."|";
print("".$modex[0]."");
mysqli_query($db, "UPDATE `q01` SET `ud`='".$mod."' WHERE `ui`='1' LIMIT 1");
}
mysqli_close($db538h9gh598g5h59hgr9ehe98hger89vjrisd89);
mysqli_close($db);
?>