Re: Search and POST and keywords

From: Date: Mon, 03 Nov 2003 19:24:31 +0000
Subject: Re: Search and POST and keywords
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168406@lists.php.net to get a copy of this message
Robert Sossomon wrote: [ snipped ]
What I would LIKE it to do is pass along the keywords back to itself so that when it is called from within itself it can be on the same search terms. I have made the code do this: <input type=\"hidden\" name=\"url\" value=\"$_SERVER[PHP_SELF]\"> <input type=\"hidden\" name=\"keyword\" value=\"keyword\"> These are inputs to another form, which just passed this back header("Location:$_POST[url]"); I guess what I am missing is another way to pass the KEYWORD from the first form to the next part to make it seen by the script.
Have you looked at sessions? I don't see why you don't want to use hidden fields, but sessions would be the next thing to look at. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com

« previous php.general (#168406) next »