How do I populate a dropdown box from a xoops table?
Create a standard html form then add the following code:
$count=count($dropdown);
for ($i=0; $i<$count; $i++) {
echo "result: ".$dropdown[$i]."
";
//do something else with each selected option.
}
<SELECT name="dropdown[]" size="10" multiple id="select">
<SELECT name="dropdown" size="10" id="select">
This Q&A was found on XOOPS Web Application System : https://xoops.org/modules/smartfaq/faq.php?faqid=514