Código PHP:
Ver original
$str1=color;;;talla;;;peso;;; $str2=rojo,azul,verde;;;s,m,l,xl;;;100;;; foreach($array1 as $key){ if ($key!="") { ?> <select name="<?php echo $key?>"?> <option value="0">seleccione</option> <?php foreach($array2 as $key2=>$value){ if ($value!="") { ?> <option value="<?php echo $value?>"><?php echo $value?></option> <?php } } ?> </select> <?php } }