Reply to Re: Getting 'by reference' error using array_walk. How do I use it then?
Posted by Ewoud Dronkert on 11/18/05 19:41
lwoods wrote:
> function clean_form( &$from_check ) {
> array_walk(&$from_check,'clean_form');
You need to define at least two parameters for the function you call with
array_walk: array and item. So try: function clean_form(&$from_check,
$value) { etc. }. That might take care of the error.