View Single Post
  #3  
Old 29th April 2012, 17:01
nicephotog nicephotog is offline
Junior Member
 
Join Date: Nov 2008
Location: Australia
Posts: 19
Thanks: 0
Thanked 2 Times in 2 Posts
Default

$sql = "select username,password from faculty where (username=\"".$user."\" && password=\"".$pass."\")";

I find symbols prevent ambiguation with the query words
absolute on the quotes too.
Reply With Quote