Re: php querying



Message-ID: <1180973062.594104.39810@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> from
vinnie contained the following:



wrong: if ($num_results = 0)

right: if ($num_results == 0)

ok, but why i don't get any results from the query?

Change this
echo'<br><br>here are the results: $num_results';
to this
echo '<br><br>here are the results: '.$num_results;

--
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/
.



Relevant Pages

  • Re: Select/Join query help (dropdown box?)
    ... My opinions, not the committee's, mine. ... Simple RFDs http://www.ckdog.co.uk/rfdmaker/ ... Prev by Date: ...
    (comp.lang.php)
  • Re: help with date changes
    ... I noticed that Message-ID: from Kelly ... Geoff Berrow ... My opinions, not the committee's, mine. ... Simple RFDs http://www.ckdog.co.uk/rfdmaker/ ...
    (comp.lang.php)
  • Re: help im new to mySQL
    ... I noticed that Message-ID: ... Geoff Berrow ... My opinions, not the committee's, mine. ... Simple RFDs http://www.ckdog.co.uk/rfdmaker/ ...
    (comp.lang.php)
  • Re: Building thumbnail page (mysql)
    ... Lack of tuits. ... Geoff Berrow ... My opinions, not the committee's, mine. ... Simple RFDs http://www.ckdog.co.uk/rfdmaker/ ...
    (comp.lang.php)
  • Re: date conversion
    ... Geoff Berrow (put thecat out to email) ... My opinions, not the committee's, mine. ... Simple RFDs http://www.ckdog.co.uk/rfdmaker/ ...
    (comp.lang.php)