Re: Re: MULTIPLE SUBMIT BUTTONS

From: Date: Sat, 10 May 2003 18:53:34 +0000
Subject: Re: Re: MULTIPLE SUBMIT BUTTONS
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-147138@lists.php.net to get a copy of this message
On Sunday 11 May 2003 02:37, Dale wrote: > I have the button working just fine when I used the standard button: > <input type=submit name="SUBMIT1" VALUE="Save & Close"> > > When I, however, try to use a button that is a image: > <INPUT TYPE=IMAGE SRC="../../../IMAGES/EMPLOYEE_MNGR/BUTTON/SAVECLOSE1.GIF" > NAME="SUBMIT1" VALUE="Save and Close"> > > next page: > echo $_POST['SUBMIT1']; //with register_globals on would be $SUBMIT1 > > IT FAILS. Use print_r($_POST) to see what variables you can work with. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* /* First check any supplied i/o locations. User knows best. <cough> */ - comment from drivers/net/ne.c */

« previous php.general (#147138) next »