Re: Interesting, yet goofy behavior
| From: | Mattias Thorslund | Date: | Wed, 06 Apr 2005 19:20:37 +0000 |
| Subject: | Re: Interesting, yet goofy behavior | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212462@lists.php.net to get a copy of this message | ||
Jay Blanchard wrote:
[snip] Am I missing something here? It's obvious that the 'bid' parameter will appear in the query string... That's how the form posts it. Yes, you can unset it if you like, but the form will still add it to the URL that it posts to, unless you change the "action" attribute of the form tag. Actually I wonder how much alcohol you've had by now... :-) [/snip] You may be right, I may have been looking at this for too long. And I see that yu are right about the query string too, of course. Not enough sleep and/or food on my part. I will have to find another way around the situation then. Thanks!How about: <form name=\"managebatch\" action=\"" . basename($PHP_SELF) . "?bid=" . $_GET['bid'] . "\" method=\"POST\"> If your Form tag appears after your switch/case statement, that is? But, first, do yourself and your project a favor and go grab something to eat. :-) /Mattias