Archive for the 'array_filter' Category

Monday, October 15th, 2007

In PHP, to successively filter data in one array based on some data in each row of another, array_filter() can be combined with create_function().
The function array_filter() takes the array to be filtered as its first argument, and a callback function as its second. The callback function is a function with one parameter, which is also […]