Hello,
I am trying to get a pie chart display correctly but have found there to be not much documentation / guidance for drupal 6 and fusioncharts.
anyways im aiming to query the database with this:
$query = mysql_query("select * from content_type_engage");
Then i want to loop through the results and retrieve one specific value with
while ($row = mysql_fetch_assoc($query)) {
$n = $row['field_support_value'];}
Now this all works. but what i want to do is place each value from the database into an array.
i dont particularly understand multi-nested arrays so excuse me.
$info->data = array(array('Cat', $n),
array('Dog', $n),
array('Pig', $n),
array('Mouse', $n),
);
i need each seperate value to go where '$n' is in this mutli-nested array.
Thanks for any help..