Ok this is wierd...
Table:
1- idx
2- password
$sql = "SELECT * FROM users WHERE 'idx' = '$usr'";
$result = mysql_query($sql) or die(mysql_error());
$result = mysql_fetch_array($result) or die(mysql_error());
Then i test if password match (if it doesn't work I redirect)
If i use a valid idx and password it works fine
If i use a valid idx but no password
If i use a none valid idx...
boom nothing shows up on the webpage...
Anyone have idea?
need more info?
Help will be appreciated 🙂