im kind of stuck on something, and because this is my first php job, i dont really know how to solve it.
basically, i have one form with a drop down box, say this box has values 1, 2, and 3. this form, like any other, is sent by clicking a submit button.
now if the user chooses value 1, i need to go to form_a, if the user chooses value 2, i need to go to form_b, and 3 is form_c.
how exactly do i do this, while still $_POST'ing the data to this next form. i have tried changing what goes in the action attribute in the <form> tag, but it doesnt seem to work.
any clues on this? i dont really need any code, im just kind of stuck on my design. can you use php to change the destination in the <form action"..."> tag?
do i need to use javascript to decide how to redirect the page?
i tried making my own redirect page based on the values that were passed from the first form, but i found that i could not get the header() function to redirect after i made a call to the database.
any clues would help out a lot. thanks a head of time.