* Thus wrote Stuart Felenstein:
> Can anyone give me a clue what I have done wrong here.
> 
> //These would be passed as ints:
> array_walk($l_industry, 'mysql_escape_string');
> Warning: Wrong parameter count for
> mysql_escape_string() in
> /xxx/xxxx/public_html/Test2.php on line 104
> 

The callback function form array_walk expects to parameters:
  callback($key, $value);

But mysql_escape_string() only takes one.

As suggested earlier, use array_map() instead.


Curt
-- 
Quoth the Raven, "Nevermore."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to