Is there any way i can add to an array in php using the += method?

brandon

New member
in php, im calling a function and sending down a non global array, is there anyway that when i return the array i can keep the key for it and add that into an array that already has things in it so i don't erase it using the = because that just seems to erase the whole array and replace it. or if i cant do that is there any way i can return two things from one function at one time? thanks for your help and sorry if that doesn't make any sense.
also along the lines of returning two variables from one function how do i go about recieving them?
 
Back
Top