JohnN
June 21st, 2008, 13:17
I want to run substr on every element of my array using array_map: my code
array_map("substr",$locations, "1")
won't work because all the arguments after the function name need to be arrays - "1" is not.
ideas?
thanks very much!
array_map("substr",$locations, "1")
won't work because all the arguments after the function name need to be arrays - "1" is not.
ideas?
thanks very much!