I have a php file that echos JSON encoded arrays, the contents of which are pulled from a remote database.
I want to be able to pass this data from the PHP file to a Javascript file linked to a running HTML file displayed in the browser.
What are the best practises for passing data, particularly in JSON format fromPHP to Javascript...