The PHP file that you made with the code I gave you should be the same one you point to in the AJAX call (ie, "goo2.php"). Did you check that url in a browser to see what it was showing?
On Wednesday, August 29, 2012 10:41:28 PM UTC-4, Diana Flores wrote: > > sorry if i reply late i was working!. I made de small fixes, and still is > all blank page!!!!..in the page that i put before, they used a getData.php > file, do i need it, i just simple send the first > page(ex:exampleusingphp.html//me goochart.html) to the php file that i add > u before: > > > var jsonData = $.ajax({ > url: "goo2.php", > dataType:"json", > >> ......or i need to make a getdata, which will do: > > > <?php > > // This is just an example of reading server side data and sending it to the > client. > // It reads a json formatted text file and outputs it. > > $string = file_get_contents("sampleData.json");//me: insted of > "sampleData.json" send something else??? > maybe the goo2.php!!!?? > > echo $string; > > // Instead you can query your database and parse into JSON etc etc > > ?> > > im quite lost!!!! 0_0!!! > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/DTjyUxNJL8kJ. To post to this group, send email to google-visualization-api@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.