Say you have an array that's just a little messy and you need to apply a function to every value in that array... you probably want http://us2.php.net/array_map and not http://us.php.net/array_walk
To do this:
php turn an array into variables matching keys php associative array to variables
The function you want is
<?php extract($array); ?>
http://us.php.net/extract
You can also do it the hard way.