Codice PHP:
$str = "<select name=\"stati\">\n";
foreach($stati_profili as $chiave => $valore)
$str.= "<option value=\"$chiave\">$valore</option>\n";
$str.= "</select>\n";
echo $str;
Codice PHP:
$str = "<select name=\"stati\">\n";
foreach($stati_profili as $chiave => $valore)
$str.= "<option value=\"$chiave\">$valore</option>\n";
$str.= "</select>\n";
echo $str;