Skip to content

Instantly share code, notes, and snippets.

@rtDNVdza
Created November 5, 2013 09:28
Show Gist options
  • Save rtDNVdza/7316284 to your computer and use it in GitHub Desktop.
Save rtDNVdza/7316284 to your computer and use it in GitHub Desktop.
<?php
$json = json_decode($_POST['data']);
for($i=0;$i<sizeof($json->items);$i++)
$json->items[$i]->description = strtoupper($json->items[$i]->description);
header('Content-Type: application/json');
print json_encode($json);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment