Search and POST and keywords
| From: | Robert Sossomon | Date: | Mon, 03 Nov 2003 15:16:18 +0000 |
| Subject: | Search and POST and keywords | ||
| Groups: | php.db php.general | ||
| Request: | Send a blank email to php-db+get-31396@lists.php.net to get a copy of this message | ||
I have been modifying the quote system I have been writing like mad and
have hit another brick wall of sorts.
I am trying to do a couple of things...
The search is now up and running on just a DESCRIPTION field. Anything
else at this point is unwieldy. It works perfectly however I am trying
to add a piece to the puzzle.
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.
http://www.garlandcnorris.com/quotes
I have completely blown the numbers out of proportion, but you can still
play with it to see what I mean.
I can shoot source out if need be, but this is probably just a stupid
mistake on my part.
TIA!!
Robert
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are three kinds of economist. Those who can count, and those who
can't.
-Eddie George.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~