Reply to Re: php querying

Your name:

Reply:


Posted by Geoff Berrow on 06/04/07 16:50

Message-ID: <1180973062.594104.39810@m36g2000hse.googlegroups.com> 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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация