I Have a post from where you can select which category your post will belong to.
You can select max 5 different category (tags).
It saves these tags to same column to mysql.
id user title body tags Date
1 Tony Functions .... javascript,jquery,html,mysql 2016-07-27
id INT NOT NULL AUTO_INCREMENT,
PRIMARY KEY(id),
user TEXT,
title TEXT,
body TEXT,
tags TEXT,
date DATE,
You use a wildcard search...
SELECT * FROM `table` WHERE `tags` LIKE '%javascript%'
But you may want to reconsider your table layout, making it more normal.