Results 1 to 2 of 2
Apr 10, 2007, 06:29 #1
- Join Date
- Feb 2006
- Altoona, PA. USA
- 0 Post(s)
- 0 Thread(s)
form with 2 submits and 2 actions?
I am not sure if this is a "PHP" question but im developing with php so I'll ask it here. if it fits better somewhere else, feel free to move. thanks.
I have a form on a product page, one submit will add the product to a wishlist, the other will request a price. but depending on which submit button they click on all the variables need to be posted to a different page.
can anyone please tell me how to do this?
Freelance Flex developer for hire.
ActionScript Programmer with 8 Years Experience.
Apr 10, 2007, 06:42 #2
Something like this:
echo 'add stuff';
echo 'request stuff';
<input type="submit" name="todo" value="add" />
<input type="submit" name="todo" value="request" />