Hello, I have developed a dashboard on my local computer using Xampp, PHP and MySql. Everything works great. But, when I upload it to my server I get the following error: "Data column(s) for axis #0 cannot be of type string" Here is the php code in the php file to call data from the MySql database.:
var data = google.visualization.arrayToDataTable([ ['Risk', 'Count',], <?php WHILE ($row = mysqli_fetch_array($AuditRiskRatingBarResult)) { echo "['".$row["risk"]."', ".$row["tally"]."],"; } ?> ]); Again, it works as expected on two computers I have set up using Xampp. Pleas help. Thank you. -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/1f869be8-24a8-4049-bd83-020ed126de4dn%40googlegroups.com.