Jump to content

PHP Drop Down not working in firefox/chrome


wobuck

Recommended Posts

The following html code works in IE & Firefox but the PHP code only works in IE  :confused:

 

Any help appreciated.

 

<html>

<body>

<select size="1" name="place">

<option value="    ">Select</option>

<option value="1st">1st</option>

<option value="2nd">2nd</option>

<option value="3rd">3rd</option>

<option value="4th">4th</option>

<option value="5th">5th</option>

</select>

</body>

</html>

 

 

<?php

print("<td><select size=\"60px\" name=\"place\">");

print("<option value=\"    \">Select</option>");

print("<option value=\"1st\">1st</option>");

print("<option value=\"2nd\">2nd</option>");

print("<option value=\"3rd\">3rd</option>");

print("<option value=\"4th\">4th</option>");

print("<option value=\"5th\">5th</option>");

print("</select></td>");

?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.