Thread
:
PHP Scripting question?
View Single Post
2010-03-04, 01:28 PM
#
14
DIVAD3
I'm going to the backseat of my car with the woman I love, and I won't be back for TEN MINUTES
Join Date: Aug 2009
Location: Up-Sate NY !
Posts: 79
Did I create the query correctly???
Quote:
// Create query
$q = "SELECT * FROM `dbUsers` "
."WHERE `username`='".$_POST["username"]."' "
."AND `password`=PASSWORD('".$_POST["password"]."') "
."LIMIT 1";
// Run query
$r = mysql_query($q);
DIVAD3
View Public Profile
Find More Posts by DIVAD3