Skip to content

Instantly share code, notes, and snippets.

@sokratisg
Created December 10, 2013 17:07
Show Gist options
  • Save sokratisg/7894195 to your computer and use it in GitHub Desktop.
Save sokratisg/7894195 to your computer and use it in GitHub Desktop.
json_decode example
<?php
$json = '{"image_intro":"storage\/images\/media\/fotografies\/thumbnail.jpg","float_intro":"","image_intro_alt":"fragkoul
$obj = json_decode($json);
echo $obj->{'image_intro'} . '<br>';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment