You are here: Re: return to html « PHP Programming Language « IT news, forums, messages
Re: return to html

Posted by zoilus on 06/06/07 21:43

My mistake. The copied program was severly lacking. Have made all
patches. Search program had no POST statements amoung other things.

Thanks to all



zoilus wrote:

> print "You have entered search.php<br>";
> /*
> //This is only displayed if they have submitted the form
> print "<br>variable fname, lname and info is: $fname, $lname, $info <br>";
> print "<br>variable searching is: $searching";
> print "<br>variable search is: $search";
> print "<br>variable find is: $find";
> */
> // print_r(debug_backtrace()); //got from web, does not seem to work.
>
> if (!isset($_POST["fname"])){
> print "fname is not set";
> }
>
> if ($searching =="yes")
> {
> echo "<h2>Results</h2><p>";
> }
>
> //If they did not enter a search term we give them an error
> if ($find == "")
> {
> echo "<p>You forgot to enter a search term";
> exit;
> }
>
>
> Iván Sánchez Ortega wrote:
>
>> zoilus wrote:
>>
>>
>>> none of the variable are set in search.php
>>
>>
>>
>> How are you accesing the variables there?
>>

 

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

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