Re: numeric string to single digit array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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);

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux