Hi
when I run my code the loop doesn't stop! which force the browser to freez.I don't know what is wrong with the loop
I have around 4 users only !
and my query select only one of them
here is my code :
$id = $_GET['id'];
$sql = "SELECT * FROM users WHERE id='".$id."'";
$query = mysql_query($sql) or die(mysql_error());
$check = mysql_fetch_array($query);
if($check[0]>0) {
while($row = $check ) {
$username = $row['username'];
echo $username;
}