Re: numeric string to single digit array

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

 




----- Original Message -----
From: Evert Lammerts <evert.lammerts@xxxxxxxxx>
Date: Wednesday, March 26, 2008 4:30 pm
Subject: Re:  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


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

  Powered by Linux