Reply to Re: How do I handle mysql not found conditions?
Posted by Big Moxy on 11/09/07 17:52
On Nov 9, 9:38 am, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
> On Fri, 09 Nov 2007 18:25:36 +0100, Big Moxy <bigm...@gmail.com> wrote:
> > $rows = mysql_num_rows($result) or die(mysql_error());
>
> How do you think this well act if the result of mysql_num_rows() is 0?
> --
> Rik Wasmus
I want mysql_num_rows() = 0 to be treated as a not found condition.
Isn't that already handled?