I have table tags with field id,name
On front end the user enter tags comma separated in a textarea associated with the corresponding product
so during insertion i want to add the tags to the tag table that are not in the tag table.
so all working fine but the problem is i want to add the specific tags to the table that are not in the tag table
e.g: Consider the form
Name of product: Orange Juice Description: description of orange juice. Tags: Water,juices,drinks
so i want to add those tags to the tag table that are not present in the table. e.g water and drink is in the table and juice is not so only add juice to the tag table.