Paste2 Logo
  1. function SelectBox_UserList($user_name) {
  2.         global $xdb;
  3.         $name = $xdb->GetAll ("SELECT user_name FROM".X1_userprefix.X1_DB_userstable." order by user_name ASC");
  4.         $c = "<SELECT NAME='$type'>";
  5.                 foreach($name As $names){
  6.                         $c.="<option value='$name' align='left'>$name[user_name]</option>";
  7.                         }
  8.         $c .= "</select>";
  9.         return($name);

function