Possible Duplicate:
Populate a Drop down box from a mySQL table in PHP
I'm new to PHP/mySQL, but I'm learning it. I'm just creating a simple script to learn about mySQL, retrieving data from the database etc. I'm stuck on something, I hope you guys can help me!
I want to show the data of table 'leerlingen' in a html form, in the 'select' html tag. Each value has to has its own option tag, so like this:
<select>
<option value="VALUE 1">VALUE 1</option>
<option value="VALUE 2">VALUE 2</option>
<option value="VALUE 3">VALUE 3</option>
<option value="VALUE 4">VALUE 4</option>
</select>
I've searched a lot at Google, tried many things, but nothing seems to work..
Thanks!
Jelle