Array Processing


list1 = Array ( [0] => apples [1] => bananas [2] => oranges )
list2 = Array ( [1] => doors [2] => windows [5] => floors [6] => walls )
list3 = Array ( [Mon] => chicken [Tue] => beef [Wed] => fish )

list1[2] = oranges
list1[ ] = strawberries (add to end)
list2[1] = doors
list2[ ] = ceiling (add to end)
list3[Tue] = beef
list3[Mon] = chicken
list3[Wed] = vegeterian (change)
list3[Thu] = pork (add)

list1 = Array ( [0] => apples [1] => bananas [2] => oranges [3] => strawberries )
list2 = Array ( [1] => doors [2] => windows [5] => floors [6] => walls [7] => ceiling )
list3 = Array ( [Mon] => chicken [Tue] => beef [Wed] => vegetarian [Thu] => pork ) Click to see the [code]