Hello,
The dropdown option mod of V@no is one of the master works of him. I am using it many times on my gallery. Thanks V@no.
[MOD] Dropdown options for custom database fields
http://www.4homepages.de/forum/index.php?topic=7112.0I want to start a new topic on purpose instead of on the same mod topic, because now we are going now to another level.
My question is:
How can we change the
%dropdown_array% array to get information from the database?
$additional_user_fields['%column_name%'] = array("%field_description%", "%admin_field_type%", %is_required%, %dropdown_array% [, %is_multidimention%, %is_number%, %start_number%, %is_auto%]);$additional_user_fields['user_gender'] = array($lang['user_gender'], "dropdown", 0, array("---", "male", "female"), 0, 1, 5, 0);
For example I want in the dropdown box all the usernames form the database.
Of course I can do it with another way, but I want to use the additional dropdown option.
Many thanks in advance,
Cruxy