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