Please Help..with the code echo "<select name=\"studentid\">"; while($row = mysql_fetch_row($results_id)); { echo "<option value=\"".$row['stu_id']."\">".$row['stu_id']."</option>"; } echo "</select>"; print '</select>'; In above code i am trying to create a drop down list from a data in a table in a database The name of the field in table is stu_id Please help I really need your help