Subject Re: number of records in result set
Author Didier Gasser-Morlay
--- 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