At 4:32 PM -0500 2/14/11, Paul M Foster wrote:

Understood. It sounded like you were saying you could only get back POST
or GET values from a page, which isn't true. The form itself, yes, can
only have one or the other method attribute.

What it sounded like was:

What others have not addressed is that the form used to send
variables will send only GET OR POST method variables, but not both
at the same time.

I still stand by that statement. A form can only send variables through the method stated in the form.

The "action" value of the form is not data provided by a POST-method form -- it simply uses the address provided by the coder. If you want to add GET data to the action value, then that's your call, but the POST method form will do nothing to the action value data. However, a GET-method form will change the action value.

Try this as an experiment. Use a GET form with the action value containing get type data (?id=1234) and see what happens to that data.

If you do, then you'll have a better idea of what you can/can't do with a form.



PHP General Mailing List (
To unsubscribe, visit:

Reply via email to