Well firstly if/else and switch statements are basically the same.
Just for lots of options I find (as do most people that I know) switch ones easier to use. They are no faster, as far as I know, the guy who told me there was no speed difference isn't the most reliable source.
switch is also more useful in some cases, but I won't go into that at this time.
"case etc"... was is an example, ie: "and so on"
You only need as many numbers as there are options...
But Weedpacket didn't sit there writing out two hundred examples for obvious reasons.
If you have 2 options in the pull down the PHP you want is
<?
include("config.php3"); // other include file
switch(form)
{
case 1: include 'prepf.php3'; break;
case 2: include 'prepm.php3'; break;
default : include 'prep.php3';
}
?>
(I never bother with brackets myself)
You need default in case the case isn't 1 or 2, it doesn't matter if its impossible to get something thats not in a case, PHP will error out if you don't have a default in there.
For the pull down just do a standard form and table design with a select box in there... Thats basic HTML.
<form ...
<table ...
<tr>
<td>
<select option='form>
<option value='1'>1st Option Text</option>
and so forth...