I have the following code
//query to find the find out if the player_id exsist in the database
$sql = mysql_query("SELECT Player_number FROM players where Player_First_Name like '$first' AND Player_Last_Name like '$second' AND Inactive_player = 1 AND player_email = '$email' or player_email2 = '$email'") or die ("Find Player Number Error: " .mysql_error());
while($row = mysql_fetch_array($sql))
$playerID = $row['Player_number'];
$username = $playerID;
$isError = "3";
When I tell it to look for valid information it never goes through the while statement, and i don't get an errors. I know it should go through the while statement but I don't see why it isn't.