Re: php querying
- From: Geoff Berrow <blthecat@xxxxxxxxxxx>
- Date: Mon, 04 Jun 2007 17:50:58 +0100
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/
.
- Follow-Ups:
- Re: php querying
- From: vinnie
- Re: php querying
- References:
- php querying
- From: vinnie
- Re: php querying
- From: SrSilveira
- Re: php querying
- From: vinnie
- php querying
- Prev by Date: Re: Efficiency of mysql_close()
- Next by Date: Re: PHP Error on Password Check (SQL Database)
- Previous by thread: Re: php querying
- Next by thread: Re: php querying
- Index(es):
Relevant Pages
|