Re: Errors getting count(*) result
| From: | gstrein andreas | Date: | Wed, 16 Aug 2000 18:52:27 +0000 |
| Subject: | Re: Errors getting count(*) result | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12093@lists.php.net to get a copy of this message | ||
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