|
Posted by Richard Davey on 10/04/60 11:11
Hello,
Tuesday, March 22, 2005, 5:13:50 PM, you wrote:
jk> I'm trying to get the name of a form. I tried the following code, but
jk> I guess the data in $_POST only contains data on the form elements
jk> that go inside the form tags, but not info from the form tag itself.
jk> Any suggestions on how to get the form name?
Stick a hidden input field in your form that contains the name of it.
You cannot extract it from any super-global, it's not passed in that
way.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov
Navigation:
[Reply to this message]
|