RE: [PHP] Get the name of the form
| From: | Robert Cummings | Date: | Thu, 09 Oct 2003 17:06:26 +0000 |
| Subject: | RE: [PHP] Get the name of the form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165637@lists.php.net to get a copy of this message | ||
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:jay.blanchard@niicommunications.com]
> Sent: 09 October 2003 18:02
> To: bertrand moulard; php-general@lists.php.net
> 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. |
`------------------------------------------------------------'