php-db | 2001072
Date: 07/17/01
- Next message: Beau Lebens: "[PHP-DB] Lame ODBC Query Engine?"
- Previous message: Ken Sommers: "Re: [PHP-DB] php/mysql/unix-Linux hosting with major DBMS support>?"
- Next in thread: Karl Phillipson: "RE: [PHP-DB] mysql_query troubles"
- Maybe reply: Karl Phillipson: "RE: [PHP-DB] mysql_query troubles"
- Reply: Steve Brett: "[PHP-DB] Re: mysql_query troubles"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all',
I have a mysql_query that reads:
$testResult = mysql_query("SELECT * FROM login_table where Pass =
password('$password')") or die ("ouch");
$num_rows = mysql_num_rows($testResult);
the problem is that I keep getting a value of 0 for $num_rows when I know
the table has 1 entry for PAss which equals password('$password'). The
password I have used is just 'a' (before pasing throught the password
function in the insert).
I DO have a table named login_table
I KNOW that there is an entry that matches 'password('$password)'.. ( i
checked using phpMyAdmin)
can anyone help??????
Thanks in advance,
brad
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Beau Lebens: "[PHP-DB] Lame ODBC Query Engine?"
- Previous message: Ken Sommers: "Re: [PHP-DB] php/mysql/unix-Linux hosting with major DBMS support>?"
- Next in thread: Karl Phillipson: "RE: [PHP-DB] mysql_query troubles"
- Maybe reply: Karl Phillipson: "RE: [PHP-DB] mysql_query troubles"
- Reply: Steve Brett: "[PHP-DB] Re: mysql_query troubles"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

