Fw: [PHP] Re: [PHP-DB] Errors getting count(*) result
| From: | gstrein andreas | Date: | Wed, 16 Aug 2000 18:54:34 +0000 |
| Subject: | Fw: [PHP] Re: [PHP-DB] Errors getting count(*) result | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2094@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "gstrein andreas" <viva@mcnon.com>
To: "Ian Evans" <ianevans@friedspamdigitalhit.com>
Cc: <php-general@lists.php.net>
Sent: Wednesday, August 16, 2000 8:52 PM
Subject: [PHP] Re: [PHP-DB] Errors getting count(*) result
hi,
why not use the build in functions ;-)
$myResult=odbc_num_rows($result);
echo $myResult;
----- Original Message -----
From: "Ian Evans" <ianevans@friedspamdigitalhit.com>
To: <php-db@lists.php.net>
Sent: Wednesday, August 16, 2000 8:36 PM
Subject: Re: [PHP-DB] Errors getting count(*) result
gstrein andreas wrote:
> $myResult = odbc_fetch_row($result);
> echo $myResult;
Hmmm, that returned a 1, not the 22 it should be..
--
Ian Evans
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
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