How to insert TAGs in a MYSQL database using PHP?

0

Good afternoon! I have a knowledge base system where each user can go in there and fill out a form and register the procedure he knows. I need to implement a TAG field in this knowledge registration form, this field will be used to future the document be searched. Each document when it is inserted in the database has a unique ID, my question is:

Note: The data entry in this field of TAGS would be through a field of TAGS same (As is done here in the forum at the time of registering the question)

How will the data be entered into the mysql database, since each procedure has a unique ID? Example: Procedure 1 - How to use ipconfig - TAGS: Windows, network, msdos.

How do these three tag values go to the mysql database? which has a FIELD called TAGs?

From what I understood in mysql the records would be + o - like this:

| id   |  procedimento_ nome   | tags                    |  
|  01  |  Como usar o ipconfig | Windows, rede, msdos    |

Thank you!

    
asked by anonymous 09.10.2016 / 20:06

0 answers