Page 1 of 1

I'm having a hard time understanding the php array_walk func

Posted: Sat Jun 21, 2003 7:41 pm
by sos
I am stumped nothing is clicking. I am not seeing the logic, and its driving me mad.

array_walk adds a user defined function to every element in a array. please I am not understanding this and I will not rest until i do.

can someone shed some light on this function for me please by showing me a simple to follow example hopefully then I can follow.

Posted: Sat Jun 21, 2003 7:56 pm
by volka
did you read http://php.net/array_walk ?
(at least) the example should be helpful ;)