A usefull function that returns a flat array. I use it in a template system. Let the user pass a multidimensional array. Convert it using my function. Then use
php.net