Jump to content

Multiple Values List


gple

Recommended Posts

If I have a list in which I can choose multiple values (ie)

 

echo "<form action=edit_prod.php?enter=4 method=post>";

echo "<select name=type_size size=6 multiple>";

for ($i=0;$i<$num;$i++)

{

$type_size=mysql_result($result,$i,"type_size");

echo "<option value=".$type_size.">".$type_size."</option>";

}

echo "</select>";

echo "<input type=submit name=submit value=Update></form>";

 

How do I bring all the values over so I can insert all the values into a table?

Link to comment
https://forums.phpfreaks.com/topic/57093-multiple-values-list/
Share on other sites

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.