RE: FN-FORUM: mysql_fetch_array display Q?
date posted 4th January 2004 18:01
nigel rogers:
>
>
> generates the sum of column in a mysql database but displays
> incorrectly on a page ie
>
> array(2) { [0]=> string(5) "29797" ["SUM(total_vends)"]=>
> string(5) "29797" }
>
> not just 29797
If I haven't misunderstood the question, and you're *literally* expecting an
output of '29797', then try something like:
Hope that helps?
- Nick Grimshaw
{ if you're not part of the solution, you're part of the precipitate. }