Example. How to encode an associative array into a JSON object: <?php $age = array("Peter"=>35, "Ben"=>37, "Joe"=>43); echo json_encode($age);
確定! 回上一頁