Simple Array
Posted: Thu Jul 07, 2005 12:46 pm
Ok... I have a normal array with some names and I have some values for those names in an another array. I can loop through them fine and print them out accordingly as needed.
My problem is that I can't figure out how to Add all the values together. It seems like it should be easy but I'm obviously doing something wrong but I can't figure it out. Help? Please?
[/b]
My problem is that I can't figure out how to Add all the values together. It seems like it should be easy but I'm obviously doing something wrong but I can't figure it out. Help? Please?
Code: Select all
$bill_names = array( "e;One"e;, "e;Two"e;, "e;Three );
$bill_values = array( 11, 22, 33 );