table('reg_fields')."ORDER BY dis_order, id"; $reg_list = $GLOBALS['db']->getAll($sql); print_r(json_encode($reg_list)); } ?>