Re: [PHP] variables not being passed from form ??
On Tue, Jun 18, 2002 at 02:42:38PM -0700, Anthony 'Crash' Ciarochi wrote: For example: the submit button's name is 'submit', and the value is 'Add', but in the receiving php script, $submit is empty, and so is $HTTP_POST_VARS[submit'] register_globals is On Your HTML is broken? Post your form and we'll see. --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] variables not being passed from form ??
I've found that errors in the HTML syntax can cause similar problems. Check your HTML for missing or out of place quotes. -Kevin - Original Message - From: Anthony 'Crash' Ciarochi [EMAIL PROTECTED] To: Anthony 'Crash' Ciarochi [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 18, 2002 3:42 PM Subject: [PHP] variables not being passed from form ?? I have a web page which contains a form whose action is a php script. Unfortunately, NONE of the form's variables are being passed when the form is submitted. For example: the submit button's name is 'submit', and the value is 'Add', but in the receiving php script, $submit is empty, and so is $HTTP_POST_VARS[submit'] register_globals is On The form method is post. What else am I missing? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] variables not being passed from form ??
Anthony, Can you create a very simple test case that demonstrates this problem and post it? It might reveal something, because otherwise, I don't see a cause for trouble with what you've described. Chris P.S. Please copy me in any replies if you want to make sure I see it. Anthony 'Crash' Ciarochi wrote: I have a web page which contains a form whose action is a php script. Unfortunately, NONE of the form's variables are being passed when the form is submitted. For example: the submit button's name is 'submit', and the value is 'Add', but in the receiving php script, $submit is empty, and so is $HTTP_POST_VARS[submit'] register_globals is On The form method is post. What else am I missing? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php