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?

THANKS