Bowser Posted March 1, 2006 Share Posted March 1, 2006 <FORM ACTION='trades.php?ID=$ID' METHOD='POST'><SELECT NAME=\"p1[]\" MULTIPLE SIZE=15><OPTION VALUE=\"\">List of all your stuff</option><OPTION VALUE=\"Stuff1\">Stuff</option><OPTION VALUE=\"Stuff2\">Stuff</option>how can i make it when i submit the info make like if i have both stuff selected make it show them Link to comment https://forums.phpfreaks.com/topic/3804-need-help-with/ Share on other sites More sharing options...
cheyner11 Posted March 1, 2006 Share Posted March 1, 2006 if($stuff != "") { echo "<option selected value='$stuff'>$stuff</option>"; }The if clause can be changed to accommadate your data structure. Link to comment https://forums.phpfreaks.com/topic/3804-need-help-with/#findComment-13233 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.