RE: [PHP] need help with multiple "forms" on the same page

From: Date: Sun, 05 Nov 2000 03:17:00 +0000
Subject: RE: [PHP] need help with multiple "forms" on the same page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-23760@lists.php.net to get a copy of this message
You could have both the drop downs in the same form. Just name the SUBMIT buttons differently. <input type="submit" name="submit1"> <input type="submit" name="submit2"> and so on. Otherwise, you could try with a different VALUE. <input type="submit" name="submit1" value="1"> <input type="submit" name="submit1" value="2"> This way, in your JavaScript (on the client side) and on the PHP script (on the server side) you can differentiate between the two submit buttons. HTH, </Shanx> --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.198 / Virus Database: 95 - Release Date: 04-Oct-00

« previous php.general (#23760) next »