bradsteele
Programmer
Hi,
I am doing the following SQL statement
$sql = "SELECT * FROM usertable WHERE username ='$user' AND password = '$pass'";
and I need to be able to check the returned rows to see if the 'loggedin' value is either true or false, but I can't seem to be able to do this.....I am very new to MYSQL/PHP.
Thanks to anyone that can help.
Brad
I am doing the following SQL statement
$sql = "SELECT * FROM usertable WHERE username ='$user' AND password = '$pass'";
and I need to be able to check the returned rows to see if the 'loggedin' value is either true or false, but I can't seem to be able to do this.....I am very new to MYSQL/PHP.
Thanks to anyone that can help.
Brad