I have three PHP $variables from a MySQL table. How do I plug them into this Google Chart Java code? For example: 47 = $yup; 44 = $nope; 9 = $huh
// Create the data table.
var data = new google.visualization.DataTable();
data.addColumn('string', 'Response');
data.addColumn('number', 'Count');
data.addRows([
["Yes", 47],
["No", 44],
["No opinion", 9],
]);
Thanks . . .