siimliimand
10/25/2017 - 6:44 AM

Returning JSON from a PHP Script

Returning JSON from a PHP Script

<?php

$data = array();

header('Content-Type: application/json');
echo json_encode($data);
exit;