Originally posted by sarahk
have your select dropdown and in php you can then
if ($gender == 0 || $gender == 1)
include("women.php")
else if ($gender == 0 || $gender ==2)
include("men.php")
[/B]
ok that should be it. how would i integrate that into a pulldown? (still learning php here)
if i use this, i dont take out the original include file and replace it with the code you gave me or do i.. i believe.. if i use your code then if its selected for female, then the women.php would be inserted, and if male was selected, then male.php would be used.. but if the page loaded normally, would the normal prep.php file be loaded (the original include file)?
thanks for your help on this.. im probably asking stupid questions