RE: [PHP] submitting to differient php scripts based on button -O T-

From: Date: Tue, 03 Jun 2003 14:28:59 +0000
Subject: RE: [PHP] submitting to differient php scripts based on button -O T-
Groups: php.general 
Request: Send a blank email to php-general+get-149976@lists.php.net to get a copy of this message
[snip] I simply want to submit my form to either one.php or two.php or thr.php depending on which BUTTON is pressed (I am using html buttons <input type='submit' value='blah'>) I have 3 buttons....how do i set it? [/snip] Instead of 3 different .php why not use one.php with a SWITCH statement? http://us3.php.net/manual/en/control-structures.switch.php HTH! Jay

« previous php.general (#149976) next »