Array Help
Posted: Fri Aug 10, 2007 1:30 pm
I want to make array values and then put them into the array. I am having problems however.
Here is the array I want to use:
Here is the array that will work:
Here is the array I want to use:
Code: Select all
$month_array = "January, February, March, April, May, June";
$month_total_array = "Cases Ordered in 2006 ($customer), 100, 120, 150, 170, 180, 190";
$chart["chart_data"] = array(array($month_array), array($month_total_array));Code: Select all
$chart["chart_data"] = array(array("January", "February", "March", "April", "May", "June"), array("Cases Ordered in 2006 ($customer)", 100, 120, 150, 170, 180, 190));