so i pass the entered username and pass into the next document which is trying to verify it. my plan was to get php to retrieve the password from the table and then compare the two variables to insure a match. i get stuck on the retrieval part.
$db_pass = "";
$db_pass = mysql_query("
SELECT password
FROM users
WHERE username=$user");
if it ever prints out it prints Resource ID #2
i realize this is probably pretty basic, thanks for any help.
#If you have any other info about this subject , Please add it free.# |