What does mysql_query() return? Did you try checking mysql_error()? In
order to debug it, a good start would be removing the @ marks from your
MySQL statements, so that if there are any errors, you'd see them.
Zeev
At 17:12 12/4/2001, Joshua Butcher wrote:
I am using code that used to
I am using code that used to work... I am trying to connect to a database to
validate a logon. I get a user ID and password from an HTML file, passed to
my PHP script. It fetches the query, but it always returns 1, even if I pass
a password that is invalid. The query does not get returned to PHP