Re: Getting form name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux