Subject | AW: [firebird-php] Re: number of records in result set |
---|---|
Author | Thomas Rueger |
Post date | 2004-02-17T11:11:36Z |
Hello,
just use SQL_AL.PHP and there you have the function sql_num_rows
You will find it in sourceforge.net....
Cu
Thomas
-----Ursprüngliche Nachricht-----
Von: Didier Gasser-Morlay [mailto:Didiergm@...]
Gesendet: Montag, 16. Februar 2004 11:56
An: firebird-php@yahoogroups.com
Betreff: [firebird-php] Re: number of records in result set
just use SQL_AL.PHP and there you have the function sql_num_rows
You will find it in sourceforge.net....
Cu
Thomas
-----Ursprüngliche Nachricht-----
Von: Didier Gasser-Morlay [mailto:Didiergm@...]
Gesendet: Montag, 16. Februar 2004 11:56
An: firebird-php@yahoogroups.com
Betreff: [firebird-php] Re: number of records in result set
--- In firebird-php@yahoogroups.com, "wolfintower" <p.kalis@w...> wrote:
> Hallo,
> i have problem with number of rows in result set. Resp. i don't
> know, how can i get it. Is there anything like mysql_num_rows? I have
> tried ibase_affected_rows, but this doesn't work too.
>
> Thank you
> Petr
>
> p.s. maybe it is a stupid question, but this is my first use
> php+firebird and i can't find solution of this
Hi,
I am using adodb as an intermediate layer do access firebird. adodb
provides the function RecordCount() which returns the number of rows
retrieved in a result set. I *believe* that this cannot be read
directly from the API, although I could be wrong.
have a look at adodb, it makes a lot of things very easy.
Didier
[Non-text portions of this message have been removed]