Subject | RE: [firebird-php] ibase_num_rows instead of count(*) |
---|---|
Author | Darren Thompson |
Post date | 2004-09-07T14:12:10Z |
function ibase_num_rows($query) {
$i = 0;
while (ibase_fetch_row($query)) {
$i++;
}
return $i;
}
have you tried this function?
-----Original Message-----
From: Almad [mailto:almad_cz@...]
Sent: Tuesday, September 07, 2004 12:40 PM
To: firebird-php@yahoogroups.com
Subject: Re: [firebird-php] ibase_num_rows instead of count(*)
$i = 0;
while (ibase_fetch_row($query)) {
$i++;
}
return $i;
}
have you tried this function?
-----Original Message-----
From: Almad [mailto:almad_cz@...]
Sent: Tuesday, September 07, 2004 12:40 PM
To: firebird-php@yahoogroups.com
Subject: Re: [firebird-php] ibase_num_rows instead of count(*)
On Wednesday 08 of September 2004 04:33, Almond wrote:
> Is there are an ibase_num_rows
> <BR> function instead use count() on sql ?
Yes, but from php5, i think.
--
Lukas "Almad" Linhart
Yahoo! Groups Sponsor
ADVERTISEMENT
----------------------------------------------------------------------------
--
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-php/
b.. To unsubscribe from this group, send an email to:
firebird-php-unsubscribe@yahoogroups.com
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]