mysql table fields in combo box
how can i get mysql fields in combo box i write the following codes
but i could not be sucessfull any help
=========================
<?php while($query_data=mysql_fetch_array($result)
{
echo "<option value=$query_data[event_name]</option>";
}?>
</select>
i also used mysql_fetch_row and object methods
pls help me
|