Subject | Re: php.. returning number of rows |
---|---|
Author | ian.mellor@legalisp.net |
Post date | 2001-07-02T08:40:46Z |
-Surojit Niyogi wrote:
and that the "primary" column isnt empty before we go off looping
through the result. Not very elegant, and only works if the result
contains a known not-null field. Fabrice's answer is probably better..
yours,
Ian
>We just check that the result set isnt false (ie the sql was valid)
> Does anybody know the BEST method of finding out whether the
> recordset returned is empty or not?
>
and that the "primary" column isnt empty before we go off looping
through the result. Not very elegant, and only works if the result
contains a known not-null field. Fabrice's answer is probably better..
yours,
Ian