Re: [PHP] multi dimensional array question

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

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 wrote: > thank

Re: [PHP] multi dimensional array question

2010-05-01 Thread Programming Guides
On Fri, Apr 30, 2010 at 7:33 PM, Nick Balestra 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 they > sug

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... loo

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' =>