Re: Strange problem with DB queries

From: Date: Wed, 04 May 2005 00:20:59 +0000
Subject: Re: Strange problem with DB queries
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-214400@lists.php.net to get a copy of this message
On Mon, May 2, 2005 4:07 am, George Pitcher said: > On page y, I've echoed the queries and they work fine when I paste them > into > MySQLCC. However, if I do print_r($row), I get an ampty array. Echoing the > $result gives me Object id #3 (on page x this is Object id #6). > > I have another popup window which is used to build xml output etc and the > queries (some using the same functions) seem to wortk there. How are you handling error conditions returned from MySQL? Checking mysql_error()? Ir not, try that first. If you are, and MySQL is giving different results for the same query, you must have some kind of pre-condition or other factor you are missing... -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#214400) next »