Re: numeric string to single digit array

From: Date: Wed, 26 Mar 2008 16:42:07 +0000
Subject: Re: numeric string to single digit array
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-44811@lists.php.net to get a copy of this message
On Mar 26, 2008, at 12:30 PM, Evert Lammerts wrote:
OK. Tried that and count comes back as 1.
So your query returns only one record. Try $query ="Select answer from answers";
Why not do a var_dump() on $result to verify that it is a mysql result resource and then verify the count of rows with: mysql_num_rows($result);

« previous php.db (#44811) next »