Re: boolean instead of array

From: Date: Sun, 03 Nov 2002 12:58:35 +0000
Subject: Re: boolean instead of array
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-22925@lists.php.net to get a copy of this message
On Sun, 2002-11-03 at 01:44, Jason Wong wrote: > On Sunday 03 November 2002 10:23, John Coder wrote: > > I seem to somehow get an boolean instead of an array from a > > mysql_fetch_row function and I have no idea how. > > Here's the code; > > Try adding some error checking into your code (see manual examples) and using > mysql_error() to find out what's going. > What error checking to insert into this code I'm clueless. I found out why I wasn't getting an array by inserting gettype and finding out it's a boolean type instead of array but past that checking out why It's boolean type I have no idea how to begin. John Coder

« previous php.db (#22925) next »