I am trying to make tags table that accepts new tags from users.
I want to Exclude the general words from being inserted in the tags table like "the" or "that"
my idea is to make a general words table and exclude them while inserting the new tags.
this is how i work on php:
//get the general words from database and convert them into ary_general
//execlude the general words from the new words and store the rest into ary_tags
//insert the ary_tags words into tags table if doesn't exist.
but i wish in one statement do it all if I can:
Example:
source: "do,you,think,that,programming,is,cool"
tbl_general_words
do
you
that
is
result: "think,programming,cool"