Re: picking up a form name
| From: | David T-G | Date: | Thu, 18 Dec 2003 22:28:07 +0000 |
| Subject: | Re: picking up a form name | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172978@lists.php.net to get a copy of this message | ||
Craig --
..and then php said...
%
% Hi,
Hi!
%
% If I have more than one form on a page, how can I get the
% name of the form that was sent on the recieving page
% without using javascript?
1) What's a form name?
2) Whatever it is, I suppose you could embed it in a hidden field.
3) Name your submit buttons differently and work it out from that.
4) Just look at $_POST and see the values you have.
%
% tia,
% Craig
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!