You are here: Re: Getting 'by reference' error using array_walk. How do I use it then? « PHP Programming Language « IT news, forums, messages
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.

--
E. Dronkert

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация