Oh, shoop,
I thought I changed sometihng..
I modified one of my functions for you, but couldn't test it, since I am not behind my dev. machine (But at work 🙂)
this line:
function create_dropdown($myarray, $selected_id)
should read:
function create_dropdown($array, $selected_id)
and this: <?php
should not be there..
But it should work, and yes, I added some examples in there, with echoes so you can see how it works.