The json_encode() method will take a PHP array and encode it as JSON ready to be consumed by an AJAX call. 1. 2. 3. $myarray = array ( ...
確定! 回上一頁