Re: GET doesn't work as POST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Otto Wyss wrote:
On the page

http://www.orpatec.ch/turniere/5erfussball/index.php?page=bvallist.php&kind=regions

I have a form with method="post" and action="<?PHP $_SERVER['PHP_SELF']; ?>". While it works fine this way, as soon as I change the form to method="get" it looses the parameter "kind" when I change e.g. the second parameter from "-Alle-" to "Gültig". Has anybody an idea why it works with POST but not with GET?

<form action="<?PHP $_SERVER['PHP_SELF']; ?>" method="get">
try actually using echo or print to output the variable contents to the browser. If you look at your source. you will notice there is no value set for action....

...
 <select name="state" onchange="this.form.submit()">

O. Wyss



--
Enjoy,

Jim Lucas

Different eyes see different things. Different hearts beat on different strings. But there are times for you and me when all such things agree.

- Rush

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux