Re: Get form name after submission
| From: | Jonathan Villa | Date: | Thu, 18 Mar 2004 19:54:36 +0000 |
| Subject: | Re: Get form name after submission | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180901@lists.php.net to get a copy of this message | ||
I ended up using a hidden field to pass the value of the form.
Thanks for the replies.
On Thu, 2004-03-18 at 12:21, Robert Cummings wrote:
> On Thu, 2004-03-18 at 12:24, Jonathan Villa wrote:
> > Is there a way to get the name of the form once it's submitted
> >
> > like $_POST['form1'] or something.
>
> Include a hidden field with the name of the form for it's value.
>
> Cheers,
> Rob.
> --
> .------------------------------------------------------------.
> | 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. |
> `------------------------------------------------------------'