note 18815 deleted from function.mysql-fetch-array by betz
| From: | betz@php.net | Date: | Sat, 10 Aug 2002 16:43:57 +0000 |
| Subject: | note 18815 deleted from function.mysql-fetch-array by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34747@lists.php.net to get a copy of this message | ||
There is a special SQL command for adding entire rows, if you want to use PHP you can use:
while($row=mysql_fetch_array($result))
{
$total += $row["column_name"]
}