Re: mysql_error() problem?

From: Date: Wed, 06 Aug 2003 20:45:48 +0000
Subject: Re: mysql_error() problem?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-158553@lists.php.net to get a copy of this message
* Thus wrote Tyler Longren (tyler@jdhost.com): > hmmm...perhaps that was it. When I had this issue before, someone told me > to check mysql_affected_rows() when using issuing an UPDATE query. I'll > give that a shot. Correct, mysql_affected_rows() on a query that doesn't return rows (insert, update, delete) and use mysql_num_rows() for a select query. Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#158553) next »