This site is mobile accessible. Press the "Tap Here" button to use a different font-size.


Smartphone icons created by Freepik - Flaticon

PHP and JSON

PHP - json_encode()

["Volvo","BMW","Toyota"]

<?php
// declare $cars index array
$cars = array("Volvo", "BMW", "Toyota");

// json_encode $cars array and display it
echo json_encode($cars);
?>