[code]<tr> <? echo "<td>"; $link = mysql_connect( "localhost", 'root', 'root' ); if ( ! $link ) die( "Couldn't connect to MySQL" ); mysql_select_db( 'project', $link ) or die ( "Couldn't open user: ".mysql_error() ); $sql="SELECT * FROM labels"; $result = mysql_query($sql); echo "<select name=project>"; echo "<option value='1'>-Select Project-</option>"; while($nt=mysql_fetch_row($result)) { //echo "<option value=".$nt[id]."></option>"; echo "<option value=".$nt["id"].">".$nt["wht"]."</option>"; } echo "</select>"; ?> </td>[/code] what i m trying to do is that get the values from the database for a drop down menu and i got nothing there is only one option "select project" which is outside from the while statement of fetch intstruction please help me what is the problem with this code