Jump to content

[SOLVED] using array_walk in a class


ldb358

Recommended Posts

all i want to do is use array_walk within my class heres what i have but it returns an undefined function:

array_walk($values, '$this->prep');
array_walk($columns, '$this->prep');

also tried with the same return:

        array_walk($values, 'prep');
        array_walk($columns, 'prep');

Link to comment
https://forums.phpfreaks.com/topic/173365-solved-using-array_walk-in-a-class/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.