I have an array that looks like:
Array
(
[0] => Array
(
[0] => 2013
[1] => 12
[2] => 52
)
[1] => Array
(
[0] => 2013
[1] => 12
[2] => 51
)
[2] => Array
(
[0] => 2013
[1] => 12
[2] => 50
)
And so on... This data represent Year, Month, Week. There are also a table of data that contains some int value for each line. ex.(2013-12-50 76), so i can make it on fourth position [3].
I need to make a page with 3 drop-down boxes, 3 check boxes and a submit button, so when I chose in this drop-downs, ex. first one:Year=2012(checked), second:Month=10(checked), third:Week=null(unchecked) and press the submit button I get the Sum of Data(not dates) for 2012-10.
How do operate with this array in the right way to be able to do so?
Thanks in advance.