RE: [PHP-DB] 2 selects that return 0 rows one errors one doesn't

From: Date: Fri, 29 Sep 2000 16:39:02 +0000
Subject: RE: [PHP-DB] 2 selects that return 0 rows one errors one doesn't
Groups: php.db 
Request: Send a blank email to php-db+get-3176@lists.php.net to get a copy of this message
Never mind, found the problem. I forgot to connect to the database on the page that was giving the error. Nothing quite like telling someone who knows nothing about PHP or MySQL to make you think about a problem, decide to look up the mysql_query function in the manual and see the phrase "sends a query to the currently active database" and think...I never connected to the database on this page! John Guynn

« previous php.db (#3176) next »