Re: [PHP-DB] numeric string to single digit array

[email protected] (Jeremy Mcentire)
Newsgroups php.db
Message-ID <[email protected]>
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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.