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

2003-06-04 Thread Steve Keller
At 6/3/2003 04:24 PM, Ryan A wrote: > 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 type='submit' value='blah'>) I have 3 buttonshow do i set it? You can do this one of three ways: 1. Instead of actuall

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

2003-06-04 Thread Jay Blanchard
[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 ) I have 3 buttonshow 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

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

2003-06-04 Thread Ryan A
Hi, This is more of a JS question than a PHP but have not found anything on google (http://www.google.com/search?q=javascript+onclick+button&sourceid=opera&num =0&ie=utf-8&oe=utf-8) and cant remember how I did this last time I simply want to submit my form to either one.php or two.php or thr.php