Re: [PHP-DB] (int)mysql_result? From: Indioblanco (indioblanco <email protected>)
Date: 11/20/01

(int)
forces (casts) result as integer--
see
http://www.php.net/manual/en/language.types.type-juggling.php#language.types.typecasting

"SUM" would be the field name

-ib

phpnet <email protected> wrote:

> What does adding the (int) do to this statement:
> $poll_sum = (int)mysql_result($poll_result, 0, "SUM");
> I do not find anything about the "SUM" either.
> Thanks
> Dave
>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>