I am very new to PHP hopefully someone can help me I am trying to use a wildcard for a simple "if else" code. I cant seem to figure out how to do this.
e.g.
if($cPath == '1')
{
echo "this table";
}
I am trying to get it so that cPath will display all categories with the number 1
(e.g.
1_1
1_2
1_3
etc)
I’m not sure how I would go about doing this or how to use a wildcard method any help would be great!