Would someone please help..
I have a form embeded in a html page. The form comprises of 3 inputs (2 <select>, and a submit button). The action is set to a php page.
What I am trying to achieve:
I would like to be able to get the target page (php page) to process the form variables in 'if.. else' statements and direct the visitor to the relevant page which contains the information that has answers for their queries.
Example:
variable1=="small" (entered from a <select> input)
Variable2=="truck" (entered from a <select> input)
this info is submitted to process.php
I would like 'process.php' to combine the 2 variables and send the visitor to a page called: small_trucks.htm or small_trcuks.php (either extension will do).
Note that the final pages the visitor to be directed to are unique pages and need to be displayed in the form of pages and not IFrames.
If you are familiar with this, would you kindly create a code for the above example..? and would you also be able to tell me where to insert that code in the php page..?
Hope someone out there that can help because I am at the edge of dumping this whole website idea just because of this hurdle... :mad: :mad: :mad:
Thanks all.