RE: [PHP] can't figure out this mysql error

From: Date: Fri, 23 Jan 2004 17:07:52 +0000
Subject: RE: [PHP] can't figure out this mysql error
Groups: php.general 
Request: Send a blank email to php-general+get-175540@lists.php.net to get a copy of this message
Chris W. Parker <> on Friday, January 23, 2004 8:54 AM said: > All of what you say makes sense. Hopefully your suggestion will help > me find the problem! In looking through my code I see that I already do this. EVERY call to a mysql function has "or die($this->stop("$current_line:".__LINE__));" along with the call. $this->stop() is method that prints out mysql_errno(); and mysql_error();. In this case the "or die" is not even being tripped meaning there isn't an error. I'm beginning to think it's a bug, but it's more likely that it's not. Here's another bit of crazy to throw in. The function I am trying to perform is that of adding a record to my db. Guess what? The record insertion is successul each time. And no I'm not closing the resource/db link before those two functions are called. They happen immediately after the the mysql_query() function. Sounds pretty fishy.... Chris.

« previous php.general (#175540) next »