|
Posted by Tom on 02/15/07 19:17
On Thu, 15 Feb 2007 15:06:13 +0100, dirk wrote...
>
>Hello,
>
>
>As beginner, I'm a bit confused by passing 2 variables using a html-form
>with method=POST. If passing one of them, it works ; if passing both
>together, nope. At least when I reload the same page by using
>$_SERVER["PHP_SELF"] in an included file (inc.php) it doesn't work.
>Referring to another "page.php" is succesfull. Also passing both variables
>with the GET-method works. Can somebody help me please ?
>Thank you,
>Dirk.
I was able to get $_GET and $_POST variables to work from the same form. Since
you would need the $_POST information, try checking your form's method to make
sure "post" is defined. In your action, make sure your variables are formatted
correctly such as "/path/script?var1=value1+var2=value2". Then make sure you
have the right $_GET and $_POST variables setup for the appropriate form field.
Tom
--
Newsguy.com
75+ days of Binary and Text Retention!
Higher levels of article completion!
Broader coverage of newsgroups
Navigation:
[Reply to this message]
|