I have a question regarding array_walk.. I couldn't find any help on
the website or on irc.. didn't know where else to look.

I want to call a method in an object(class) , I can't seem to get it to 

the name of the array is $fieldname, 
when I run $check->is_alllletters($textfield); it works fine
but when i do. 

array_walk ($fieldname, '$check->is_allletters');

I get the error. 
Warning: Unable to call $check->is_allletters() - function does not
exist . 

I'm stumped, and about to just copy the function on top of this script
to make it work.. any ideas from anyone else ?. Maybe it's something
stupid that I'm doing.. but I can't figure it out. 

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

Reply via email to