On Friday 27 February 2004 22:26, Craig Hoffman wrote: > I could use some help here. I have a script that checks a user name > and password against the MySQL DB. I have it set as a function so I > included/require it on the page. Here is the script: [snip] > When I change the "return false" to "return true" in the first script > (login) it authenticates, but logs any one in. Not good. Does anyone > have any ideas or suggestions? You aren't actually performing any queries -- you're missing a mysql_query(). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-db ------------------------------------------ /* The average girl would rather have beauty than brains because she knows that the average man can see much better than he can think. -- Ladies' Home Journal */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php