Posted by Geoff Berrow on 06/04/07 16:07
Message-ID: <1180971416.170450.273360@k79g2000hse.googlegroups.com> from
vinnie contained the following:
>where is the error?
Here
>if ($num_results = 0)
= is the assignment operator. You will never display any results since
this will always evaluate to true.
Try
if ($num_results <1)
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Navigation:
[Reply to this message]
|