Consider I have a table like this.
+-------------+---------------+----------------+---------------+ + id + column 1 + column 2 + column 3
Try this
SELECT * FROM table WHERE FIND_IN_SET('$variable', column 3)