You are here: Re: [PHP] Interesting, yet goofy behavior « PHP « IT news, forums, messages
Re: [PHP] Interesting, yet goofy behavior

Posted by Mattias Thorslund on 04/06/05 22:20

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

 

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

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