natalieG Posted July 12, 2006 Share Posted July 12, 2006 In our script, we are trying to make a list box. The browserdoes not show the options. The box shows up, just no items. We did checkthat the right number pf rows are in the table and if we change thestatement echoing the option[Line 4] to just echo $SPNAME, they display correctly.Thanks,NatalieG echo '<select name="USER">';while ($LBOXROW=mysql_fetch_array($LBOXFIND,MYSQL_ASSOC)){$SPNAME=$LBOXROW[SPNAME];echo "<option value=\"$SPNAME\"></option>\n";}//whileecho '</select>'; Quote Link to comment Share on other sites More sharing options...
micah1701 Posted July 12, 2006 Share Posted July 12, 2006 changeecho "<option value=\"$SPNAME\"></option>\n";toecho "<option value=\"$SPNAME\">\"$SPNAME\"</option>\n";this is more of an HTML issue then anything else :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.