when you post a new forum then you can see a Tags text box with add button
so please help me how to create a like this
please see image

please give me any idea

Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Alok UniyalRank #8,369 · 223 reputationPosted Jan 25, 2012, 1:26 AM EST
Firs you have to create Database to store tags which contain fields "TagID (Pk)" ,"TagName".
After that create table to link tag with message. This table have fields "TagId (fk)" "MessageID(fk)".
User enter tags in text box. one message may have more than 1 tag. So all tags will be seperated by comma(,).
On click of post button tags data will save in Database.
//First save tag in database and find out its TagID