0 order by modify_time DESC"; $Fetch = PDO_FetchAll($query,array($userid)); echo json_encode($Fetch, JSON_UNESCAPED_UNICODE); exit; } echo json_encode(array(), JSON_UNESCAPED_UNICODE); ?>