MySQL Forums
Forum List  »  PHP

Re: Strange issue connecting to MySQL from PHP
Posted by: Bob Field
Date: May 04, 2006 07:08PM

Maybe mysql_num_rows() would be a better choice to determine success or failure of the authentication. Zero rows would be failure, one row being success, and more than one an error.

Options: ReplyQuote


Subject
Written By
Posted
Re: Strange issue connecting to MySQL from PHP
May 04, 2006 07:08PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.