Generate dropdownlist need help

Hi, I was looking on the guide on how to use the dropdownlist but it seems I am having difficulties to understand it…how can i generate a dropdownlist list.

for example i have table emloyee_table

it has these columns,

id employee_code firstname lastname

how can I generate like this




<option value='E001'>John Miller</option>

<option value='E002'>Shiela Mallic</option>

<option value='E003'>Sarah Hawk</option>

Thank you in advance.

I fixed it!.