You are here: Re: A few questions about PHP blocks in relation to search function « PHP Programming Language « IT news, forums, messages
Re: A few questions about PHP blocks in relation to search function

Posted by Geoff Berrow on 07/31/06 11:17

Message-ID: <0001HW.C0F420C600091364F0407500@news.bigpond.com> from
Chris Newman contained the following:

>Two PHP scripts
>
>(A) A search interface mainly html with embedded PHP block that displays a
>search form.
>(B) An PHP script that is invoked
>
>Inside the second script (B) I will test if no rows returned (no results
>found). If this is the case I will invoke the search page (A) and pass a
>parameter to the script. This will set a variable in the PHP block to echo
>(display) "No results found" .
>
>Does this seem a reasonable solution?

Yes, but there is no reason why you could not do it all with one script.

--
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]


Удаленная работа для программистов  •  Как заработать на 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

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