Matthew Darcy wrote: > Hi, > <snip> > This script does NOT work. > > However if I change the sql function $sql_authorisation to > > $sql_authorisation = "SELECT * FROM account_details WHERE > account_name='$login_username' ); > > so that is only selects the username - it works. there for there is a > problem with me selecting and comparing the password'd user_password. > > Any suggestions. >
Print out the SQL statement that it's running, then execute it directly yourself in the database. See if it's returning something unexpected. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php