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
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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
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
Thank for the help. I needed to use $_REQUEST instead of $_POST and it works fine.
Jim