https://developers.google.com/chart/interactive/docs/php_example
I am working on a small project to pull in some information from a website and generate some chart.
However, in beginning, I met some problems: the link above is very clear and I copy to my amazonaws.com server because this code snippet uses PHP to populate a datatable.
What I did is to create three filesexampleUsingPHP.html
getData.php
sampleData.json
and store them into one directory.
But when I accessed the "exampleUsingPHP.html", no desired result showed up.
I guess something wrong with jQuery function ajax() url, but I cannot figure out where I went wrong.Can Somebody help me with this question otherwise I cannot go further on my own project.
Thanks a lot!