For some reason my file isnt working in firefox. Can you help? <?php if ($_POST["proptype"]) //this first checks to see if the form has been submitted { $property = $_POST['select']; //gets the value from the drop down menu if ($property==NULL) { echo "Please Select a Property Type"; } else if ($property=='apartment') { echo "Apartment Selected"; } else if ($property=='residential') { ?> <form action="/test/select/residentialcheck.php" method="post"> <p>House Type: <select name="house_type"> <option name = trailer>Trailer</option> <option name = multifamily_home>Multi-family Home</option> <option name = single_family_home>Single Family Home</option> </select> </p> <p>State: <label> <input type="text" name="state" /> </label> </p> <p> <label>City: <input type="text" name="city" /> </label> </p> <p> <label>Zip Code: <input type="text" name="zipcode" /> </label> </p> <p> <label>Bedrooms: <input type="text" name="rooms" /> </label> </p> <p> <label>Bathrooms: <input name="bathrooms" type="text" /> </label> </p> <p>Size: <label> <input name="textarea2" type="size"/> </label> </p> <p>Price: <label> <input type="text" name="price" /> </label> </p> <p>Description:</p> <p> <label> <textarea name="description" rows="5"></textarea> </label> </p> <p>Other Features:</p> <p> <label> <textarea name="others" rows="5"></textarea> </label> </p> <input type="submit"> </form> <?php } else if ($property=='office_space') { } else if ($property=='retail') { } else if ($property=='land') { } else if ($property=='industrial') { } } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <form action="<?php echo ''.basename($PHP_SELF).''?>" method="post"> <p>Property Type: <select name="select"> <option value="">Select Please</option> <option value="apartment">Apartment</option> <option value="residential">Residential</option> <option value="office_space">Office Space</option> <option value="retail">Retail</option> <option value="land">Land</option> <option value="industrial">Industrial</option> </select> </p> <p> <input type="submit" name="proptype" /> </p> </form> </body> </html> Code (markup): Thank you very much. -The n00blet
A little more info about the problem would be helpful. As a starting point I would put your option name values in quotes.