php array question
Posted: Wed Feb 02, 2011 6:52 pm
Suppose you have a multi-dimensional array but want to work with just one dimension of that array.
Without looping, how can I easily get that one dimension into a new array to work on?
I am used to presuming there is some awesome function with php that I don't know exists just yet....
The reason is that a function wants an input parameter to be an array of a certain type.
Thanks!!
Without looping, how can I easily get that one dimension into a new array to work on?
I am used to presuming there is some awesome function with php that I don't know exists just yet....
The reason is that a function wants an input parameter to be an array of a certain type.
Thanks!!