View Single Post
Old 18th November 2011, 12:47
Mark_NL Mark_NL is offline
Senior Member
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts

PHP Code:
$sql "SELECT username, password FROM faculty WHERE username = '$user' AND password = '$pass'"
notice the single quotes i put around $user and $pass
Real men don't backup... Real men cry!
Reply With Quote