While reteriving the data from database for "modification" purpose, I have problem with reteriving the data for listbox. I don't know what to do with it. Can somebody please help me here?
while ($array = mysql_fetch_array($result)) {
echo "<select name=\"mukanahankkeessa\"><option value=\"?\" id="\?\">[Select One]</option>
<option value=\"Kyllä\" id=\"Yes\">Kyllä</option>
<option value=\"Ei\" id=\"No\">Ei</option></select>
<option value=".$array['mukanahankkeessa']." selected=\"selected\">".$array['mukanahankkeessa']."</option> </td>";
As you can see that not only I want to display the value but I want to display the value in the list as selected.