RE: [PHP] sum column
| From: | Sam Masiello | Date: | Fri, 20 Oct 2000 19:05:22 +0000 |
| Subject: | RE: [PHP] sum column | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21459@lists.php.net to get a copy of this message | ||
"Resource ID#4" is an identifier being returned from PHP indicating that
your query was successful. If you want to get your sum, you will need to
use the mysql_fetch_array() or mysql_result functions to actually get your
information returned from your query.
HTH
Sam Masiello
System Analyst
Chek.Com
(716) 853-1362 x289
smasiello@chekinc.com
-----Original Message-----
From: Christopher King [mailto:chris@create4u.com]
Sent: Friday, October 20, 2000 11:00 AM
To: php-general@lists.php.net
Subject: [PHP] sum column
I am trying to sum a column. It should be really easy but Instead of a
number being returned I am getting "Resource id #4" and before that I was
getting Resource id # 3. What do these errors mean and wtf am I doing wrong.
Sorry if this is a way newbie question but I have been trying to get this
right on my own to no avail.
Thanks
--
Christopher King
chris@create4u.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net