Re: [PHP] multi dimensional array question

2010-05-01 Thread Programming Guides
On Fri, Apr 30, 2010 at 7:33 PM, Nick Balestra n...@beyounic.com wrote: thanks Piero! i was trying to solve an excercise on learning php5 (O'reilyl) book. I am happy abotut his solution with the array_sum funtion you suggested, and my multidimensional array make much more sense to mee then

Re: [PHP] multi dimensional array question

2010-05-01 Thread Nick Balestra
Thanks! I'll agree with you abotu ur points, i just started php few days ago..so i am in the first phase of learnign it...and this list is so gr8! thanks evrybody cheers, Nick On May 1, 2010, at 6:11 PM, Programming Guides wrote: On Fri, Apr 30, 2010 at 7:33 PM, Nick Balestra

Re: [PHP] multi dimensional array question

2010-05-01 Thread Richard Quadling
On 30 April 2010 23:57, Nick Balestra n...@beyounic.com wrote: us_census = array('NY' = array('New York' = 8008278),                                   'CA' = array('Los Angeles' = 3694820,                                                                 'San Diego' = 1223400),                

[PHP] multi dimensional array question

2010-04-30 Thread Nick Balestra
hello everybody here is my array(s) $us_census = array('NY' = array('New York' = 8008278), 'CA' = array('Los Angeles' = 3694820, 'San Diego' = 1223400), 'IL' =

Re: [PHP] multi dimensional array question

2010-04-30 Thread Piero Steinger
Am 01.05.2010 00:57, schrieb Nick Balestra: hello everybody here is my array(s) $us_census = array('NY' = array('New York' = 8008278), 'CA' = array('Los Angeles' = 3694820, 'San Diego' =

Re: [PHP] multi dimensional array question

2010-04-30 Thread Nick Balestra
thanks Piero! i was trying to solve an excercise on learning php5 (O'reilyl) book. I am happy abotut his solution with the array_sum funtion you suggested, and my multidimensional array make much more sense to mee then they suggested solution that also much more line of code comapred...