Passing a variable from php to javascript

Hi guys. 

I am completely lost. I read some data from a file uploaded to the server. Now i need to pass that data to a javascrypt file to display it on a google api. 


How do you do this in elgg

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking