I've compared your code to mine and can't see anything you're doing wrong. I did notice when you issue mysql_select_db in your original code you didn't include the $ in the argument... mysql_select_db(database_name) rather than mysql_select_db($database_name)... but I would expect that to be trapped and your script die (which apparently it doesn't). It might be worth double-checking that.
Bruce ________________________________ From: dror h <[email protected]> To: Google Visualization API <[email protected]> Sent: Sunday, August 28, 2011 1:49 PM Subject: [visualization-api] Re: line chart from mysql example I've tried that as well but it doesnt seem to work... do you perhaps have an example script using php to get mysql data?? -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
