Multiple buttons posting to pages without multiple forms.
Posted: Sun Nov 16, 2003 12:45 pm
This isn't really a PHP problem but I figure someone here might have some advice for me. Here is a basic idea of what I wanna do:
1 page
2 buttons on page
1st button must have form action for current page
2nd button must redirect to another page but POST the category id
I did try use headers but web server where site is hosted has problems with headers. Besides I want the vars to remain POST. Using the header function makes them GET.
Anyone got any ideas for me? I can elaborate if you don't understand. Please help.
1 page
2 buttons on page
1st button must have form action for current page
2nd button must redirect to another page but POST the category id
I did try use headers but web server where site is hosted has problems with headers. Besides I want the vars to remain POST. Using the header function makes them GET.
Anyone got any ideas for me? I can elaborate if you don't understand. Please help.