u1050411 Posted October 4, 2014 Share Posted October 4, 2014 if (!($category->name=='Collection Brom')) return false; I want to replace Brom by any name Link to comment Share on other sites More sharing options...
u1050411 Posted October 4, 2014 Author Share Posted October 4, 2014 Finally, instead of using * that I have not found I use the php function strcmp compares the first n characters. if (strncmp($category->name,'Collection',9)!=0) return false; Link to comment Share on other sites More sharing options...
Recommended Posts