Quote:
Originally Posted by Mark
PHP Code:
if (mysql_num_rows($sqlCheckUser == "0") || mysql_num_rows($sqlCheckPass == "0")
|
Yeah.
I did away with that, like I said above, by just doing a user name and password check inside of the query itself.
It's the first time I've done that, and it saved me a whole lot of work.
The PHP only sets a login cookie if the conditions in the query are met (the username and password must match). Otherwise, it displays an incorrect information error.