apply function to each array element?

From: Date: Mon, 29 Mar 2004 15:21:44 +0000
Subject: apply function to each array element?
Groups: php.general 
Request: Send a blank email to php-general+get-181667@lists.php.net to get a copy of this message
Hi, I'm looking for a concrete example I could use to create an array where each element from an original array is processed by a function. It seems array_walk would be the solution but it doesnt seem to output an array. My function looks up my array elements in a mysql table and outputs a corresponding row value. So I would like my new array to be made up of these values. Can anyone help?

« previous php.general (#181667) next »