syntax cleanup
This commit is contained in:
@@ -11,20 +11,17 @@ $p=$char['y'];
|
||||
|
||||
|
||||
$result = mysql_query("SELECT * FROM mrpg_users WHERE name='$u'");
|
||||
while($row = mysql_fetch_array($result))
|
||||
{
|
||||
$uid=$row['id'];
|
||||
$x=$row['x'];
|
||||
$y=$row['y'];
|
||||
while($row = mysql_fetch_array($result)) {
|
||||
$uid=$row['id'];
|
||||
$x=$row['x'];
|
||||
$y=$row['y'];
|
||||
|
||||
if(md5($row['password'])!=$p)
|
||||
{
|
||||
header("Location: index.php");
|
||||
exit;
|
||||
if(md5($row['password'])!=$p) {
|
||||
header("Location: index.php");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
makestatimage($uid);
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user