View Single Post
  #16  
Old 18th November 2011, 11:47
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 99 Times in 95 Posts
Default

try:
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!

http://www.e-rave.nl/
Reply With Quote