Re: numeric string to single digit array
| From: | Richard Dunne | Date: | Wed, 26 Mar 2008 17:03:35 +0000 |
| Subject: | Re: numeric string to single digit array | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-44812@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: Evert Lammerts <evert.lammerts@gmail.com>
Date: Wednesday, March 26, 2008 4:30 pm
Subject: Re: [PHP-DB] numeric string to single digit array
>
> >
> > OK. Tried that and count comes back as 1.
> >
>
> So your query returns only one record. Try
>
> $query ="Select answer from answers";
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Tried that as well and got the same result.
I tried "Select count(answer) as total from answers where
studentID='A123456789'";
from the CLI and got total = 2 as a result.