I'm wanting to check if in my column named "tag" it contains numbers with two digit numbers using Regex.
my query:
$FilterTag="3,2,11"
$sql = "SELECT * FROM table1 WHERE bTown = ? AND REGEXP_LIKE(tag, '.*[$FilterTag]')";
My table: db table tag
the only problem is that my query is finding single character numbers ,like instead of telling me that it contains 11 it will tell me that it contains 1.
Is there any way that i can group a character set of numbers?