Posted on: 10/06/04 12:31pm
By: Anonymous (tokyoahead)
what is the best version to select a user in a dropdown?
Is there an internal function that I missed?
Do I have to write a dropdown of all users myself?
thanks
User-Dropdown?
Posted on: 10/06/04 12:44pm
By: Blaine
It's best to use the COM_optionList function to generate the html list of options.
echo '<select name="usernames>';
echo COM_optionList($_TABLES['users'],'uid,username');
echo '</select>'