Skip to content

Instantly share code, notes, and snippets.

@mitchellhislop
Created January 30, 2012 20:26
Show Gist options
  • Save mitchellhislop/1706471 to your computer and use it in GitHub Desktop.
Save mitchellhislop/1706471 to your computer and use it in GitHub Desktop.
Get PHP into JS
var phpvar = $.parseJSON(<?php print json_encode(json_encode($json))?>);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment