[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+buttonsourceid=operanum =0ie=utf-8oe=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

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 input type='submit' value='blah') I have 3 buttonshow do i set it? [/snip] Instead of 3 different .php why not use one.php with a SWITCH statement?

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 input type='submit' value='blah') I have 3 buttonshow do i set it? You can do this one of three ways: 1. Instead of