I am trying to work out multidimension arrays.
i have this from a book
$players = array(array('TIR', 'Tires', 100),
array('OIL', 'Oil', 10),
array('SPK', 'Spark Plugs', 4) );
Now i want to add another value to the array, but my efforts to do this simply start a new array and delete the old one. I have looked around and cant find any good tutorials.
Can someone please give me in stupid language how i would add to this, i.e. add
'WHE','Wheels',8 into the array as a 4th item.
Thanks
Matt