6
It doesn't work for me ...
And I need also a blank value because you are not obliged to choose a member.
There is a little bug (previous post also modified) :
I change :
$sql = "SELECT uid,uname FROM ".$xoopsDB->prefix("users")."";
to
$sql = "SELECT uid,uname FROM ".$xoopsDB->prefix("users")." ORDER BY uname";
And delete :
asort($user_list);
Otherwise, you have the Member name sort by name but case sensitive (B,D,b,d,...).