I am trying to check to see if someone has registered and log them in to a site. I am using the following syntax.
$resultID = mysql_query("SELECT * FROM user where username = '$username' AND password like '$password'", $linkID)or die(mysql_error());
If I omit the AND password like '$password' it brings me down records but when I add this bit in it fails everytime. I have used this before with no problems..
Any help greatly appreciated.
Angie