I have this part here which generates me an array:
$ids_sektor = explode("/",$row['sektori']);
What i need is to echo all those values inside a select option... The html for my selectbox is:
<select id="sektori_pergjegjes" name="sektori_pergjegjes">
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="D">D</option>
<option value="E">E</option>
</select>
I tried foreach but no success, i guess i'm doing something wrong, of cours ei am, some help please.
$row['sektori']and yourforeachtry.$row['sektori']looks like