I want to search a variable with mysql query. But I want to get results that contains exact word. For example;
1 - car, cat, dog, bus, #train, #table
2 - duck, internet, dog, fish, table
3 - link, image, #html, code, php, #train
4 - tiger, lion, ship, plane, #tables
5 - crazy, music, #portable, new york
6 - animal, #table, dj, teacher
Page: website.com/e.php?tag=table
$tag = $_GET['tag']; //(my variable)
I want to get results that contains #table (JUST 1st and 6th)
So what kind of mysql query should i use?