push both key and value onto an array
Posted: Wed Jul 21, 2004 6:05 am
Hi
I know it's possible to push a value onto an existing array, with array_push. But then the keys are set automatically. I want to push the value for the key also. Anyone know if, and how, this can be done?
Regards tores
I know it's possible to push a value onto an existing array, with array_push. But then the keys are set automatically. I want to push the value for the key also. Anyone know if, and how, this can be done?
Regards tores