Is there any way to get at the $_POST variable from within the form code? I need to edit a record in an outside database and I would like to send the key value for the record in the URL of the form.
Any suggestions?
Thanks in advance.
Jim Schmeltzer
Any suggestions?
Thanks in advance.
Jim Schmeltzer
Hi Jim,
I'm not sure I can understand your question, you want to get the $_POST variable on the form load or the form submit ?
Max
I'm not sure I can understand your question, you want to get the $_POST variable on the form load or the form submit ?
Max
Hi Jim,
I'm not sure that I understand either. You have full access to the $_POST array for the results submitted from your form. If you are accessing the form from somewhere else by URL then the $_GET or $_REQUEST arrays will have any key value included in a URL and can be accessed in your form code.
Bob
I'm not sure that I understand either. You have full access to the $_POST array for the results submitted from your form. If you are accessing the form from somewhere else by URL then the $_GET or $_REQUEST arrays will have any key value included in a URL and can be accessed in your form code.
Bob
This topic is locked and no more replies can be posted.
