io ho il seguente array:
è possibile creare un select con tutte le voci dell'array?Codice PHP:
$stati_profili = array(
'1' => "Attivo",
'2' => "Disattivo",
'3' => "Sospeso",
'4' => "Cancellato",
'5' => "Frode"
);
esempio:
<select>
<option value="il numero che c'è prima di =>">quello che c'è dopo =></option>
</select>
insomma... io ho 10 voci nell'array... e io dovrei avere un select con tutte e 10 le voci, è possibile? se si come?
ringrazio anticipatamente per l'aiuto.