----- Original Message -----
From: Evert Lammerts <[EMAIL PROTECTED]>
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.  


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

Reply via email to