Hey, great post. I have a quick question... So far my php code produces an array of elements in json format:
PHP code (snippet):
$sql = "select * from customercarpark";
$result = mysqli_query($con, $sql) or die("Error in Selecting " . mysqli_error($con));
$emparray = array();
while($row = mysqli_fetch_assoc($result))
$emparray[] = $row;
echo json_encode($emparray);

This gives me the output:

How would I alter the php code so that this array will have a name/label so the output will be like this:
{ "Customers" : [ {"StudentID":"13000000","TagNumber":"111111111","FirstName":"Megan","LastName":"Smith","ContactNumber":"07135274827"},{"StudentID":"13011111","TagNumber":"212355852","FirstName":"John","LastName":"Smith","ContactNumber":"07523244423"}] }

I'm sure it's pretty simple but I've been searching for ages and cannot find anything, any help would be great :) thanks