$list_pn_user_yim1=create_option($conn,"select*from test where pn_user_yim<>'' group by pn_user_yim","pn_user_yim","pn_user_yim",$pn_user_yim1);
$list_pn_user_aim1=create_option($conn,"select*from test where pn_user_aim<>'' group by pn_user_aim","pn_user_aim","pn_user_aim",$pn_user_aim1);
$user_code1=create_option($conn,"select*from test where user_code<>'' group by user_code","user_code","user_code",$user_code1);
$java_array11=CreateJavaArray($conn,"select*from test where pn_user_aim<>'' group by pn_user_aim ", "pn_user_yim","pn_user_aim","pn_user_aim","java_array11");
$java_array12=CreateJavaArray($conn,"select*from test where pn_user_msnm<>'' group by pn_user_msnm ", "pn_user_aim","pn_user_msnm","pn_user_msnm","java_array12");
$java_array13=CreateJavaArray($conn,"select*from test where user_code<>'' group by user_code ", "pn_user_msnm","user_code","user_code","java_array13");
?>
ตรงนี้คือว่า มันจะเป็น list ส่งค่าต่อๆกันไป มันจเก็บค่าอยู่ในฟิวด์เดียวกัน เช่น