Problem with a database


#1

Having a problem with a script accessing a mysql database. The script used to work, and i’ve recently started working on it again, but now it won’t work. When i execute the mysql command, assigning it to $result, I am getting the same output on the result regardless of whether my info is found within the database or not. I keep getting:

Resource id #3

as my output. It should be a 0 or 1, pertaining to whether or not the input was found in the database (a login script, sort of)

Any insight?

Thanks,
Greg