Subject | Re: Empty Result Set |
---|---|
Author | troth1871 |
Post date | 2004-12-29T10:39:38Z |
--- In firebird-php@yahoogroups.com, "Dan Wilson" <dwilson@d...> wrote:
like a table tag before the loop starts. This is important because I
don't want to have 20 table tags instead of the one I really need.
And I don't want to make this single table tag output, if the result
set is empty.
So it would be very helpful to know if the result set is empty before
starting the loop.
Regards
Thomas
> Try this instead:The Problem with this solution is, that I want to make a single output
>
> while (($this_result = ibase_fetch_row($result)) != false)
like a table tag before the loop starts. This is important because I
don't want to have 20 table tags instead of the one I really need.
And I don't want to make this single table tag output, if the result
set is empty.
So it would be very helpful to know if the result set is empty before
starting the loop.
Regards
Thomas