Damn that's what I was thinking... thanks you .b
-----Original Message----- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 18:06 To: Bertrand Moulard Cc: Jay Blanchard; PHP-General Subject: RE: [PHP] Get the name of the form On Thu, 2003-10-09 at 13:03, Bertrand Moulard wrote: > it is a POST, didn't find anything in the doc about that. I reckon php > doesn't handle that as the name is more a html id than part of the form, but > need to make sure before telling my work mates to come up with another > proposal ;-) I don't think you can can get the form name unless you pass it along yourself in a hidden field. Cheers, Rob. > > .b > > -----Original Message----- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: 09 October 2003 18:02 > To: bertrand moulard; [EMAIL PROTECTED] > Subject: RE: [PHP] Get the name of the form > > > [snip] > does anyone know if the name of a form is stored somewhere in the > predefined > variables ($_POST, $_REQUEST, whatever) > [/snip] > > So much testing, so little time. It would be in either the GET or POST > array I would imagine, dependent on the form method. > > -- > 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 > > -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- 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