Alright, I just whipped up a little code(if you can't you javascript but you can use php just tell me):
Code:
<script type="text/javascript">
var abc = new Array();
var abc = [65,46,32,99,1,"A","k"];
abc.sort(); //sorts the array
document.write('<select>'); // writes our select tag
for (i=0;i<=abc.length-1;i++){ //make a forloop for each value we have in our array
document.write('<option value="i">'+abc[i]+'</option>'); //wirte everything
} //close forloop
document.write('</select>'); //close select tag
</script>
The selected part is an array, if your using an int value, you don't need to the double quotes, otherwise include them.
Bookmarks