You are here: Re: search queries « PHP Programming Language « IT news, forums, messages
Re: search queries

Posted by P Pulkkinen on 02/09/07 15:32

caine wrote:
> I'm doing a search application for my project. My code can prompt
> alert popup window when the user doesn't key in any keywords. However,
> if the user keys in any keywords, it juz return "Please enter
> keywords!" whatever it is. I had set proper looping for suitable
> condition checking, but it is still generate the same problem.

After real quick look, it seems that first condition
if($_POST['submit'] == "")
fails and that's why it goes to
Please enter keywords -part.

Is the method of your previous form post or get?
Is the name of the submit button "submit" for sure?

 

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

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