Hello all,
Simple question.
I have an html form that allows users to select the # of passengers from a drop-down list. That form posts to, let's say, form.php.
If the user selects 2 passengers, I want the php script to call the 2_passengerform.html and so on.
<pseudo>
<?php
if ($noPssgrs == '1')
get "1-pssgrform.htm",
elseif ($noPssgrs == '2')
get "2-pssgrform.htm"
etc....
?>
What is the proper syntax for this type of functionality?
Thanks