I want to create a lambda function, i'm doing this:
create_function('$range', 'return " ( ABS(a.price) > format_money($range["min"] AND ABS(a.price) < format_money($range["max"]) ) OR a.price is null " ');
But the $range["min"] part breaks my attempt ... there's a problem with nested quotes and i don't know how to solve it , i don't even know if it is possible to do this or php is not that powerful, any light?