Date: 12/29/00
- Next message: jeremy brand: "Re: [PHP] How secure is this?"
- Previous message: EaTrom: "Re: [PHP] Parameter passing"
- In reply to: Rasmus Lerdorf: "Re: [PHP] Strings with leading zeros"
- Next in thread: Rasmus Lerdorf: "Re: [PHP] Strings with leading zeros"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Anyone have an idea why the following won't work for me...
I have a table with two fields, login & password.
Using the following line to insert values into this table.
"INSERT INTO auth (login, password) VALUES ('user', PASSWORD('pass'))"
Now, when I try to select by password from the table using the following, I
get nothing. It doesn't find the correct row.
"SELECT * FROM auth WHERE password = PASSWORD( 'pass' )"
Can anyone see anythign wrong with this? I'm stumped.
Ben
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: jeremy brand: "Re: [PHP] How secure is this?"
- Previous message: EaTrom: "Re: [PHP] Parameter passing"
- In reply to: Rasmus Lerdorf: "Re: [PHP] Strings with leading zeros"
- Next in thread: Rasmus Lerdorf: "Re: [PHP] Strings with leading zeros"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

