LIKE should also work without modifying the function-code:
if (isset($_POST["categorie"]) && $_POST["categorie"] != '0') {
$filter[] = 'categorie==%' . $_POST["categorie"] . '%' ;
}
didn't it?
Hi Bruno,
No it didn't work because i assumed the function would place the '%' around the LIKE value and it didn't.
Ofcourse i could have done that in the build up of Tvfilters array as you suggest but i didn't think of it and i think the function should take that into account. that's why i modified the function.