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

$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