Re: Get form name after submission

From: Date: Thu, 18 Mar 2004 17:53:49 +0000
Subject: Re: Get form name after submission
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-180869@lists.php.net to get a copy of this message
Hello Jonathan, Thursday, March 18, 2004, 5:24:29 PM, you wrote: JV> Is there a way to get the name of the form once it's submitted JV> like $_POST['form1'] or something. Good question, but the answer is no - I don't believe you can. You could try passing the form name as a hidden form value? Or name your submit button accordingly? -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html

« previous php.general (#180869) next »