Finding PHP / Ajax / MySQL code snippet for adding / editing tags - same as stackOverflow

I am in the middle of adding a tag system to my site. I want to be able to easily add / edit element tags.

The structure of the current tag table:

Table: Item
Columns: ItemID, Title, Content

Table: Tag
Columns: TagID, Title, Tag_Counter

Table: ItemTag
Columns: ItemID, TagID

I really like the implementation of tags in StackOverflow, can someone send me a piece of code that I can use (PHP / Ajax / MySQL)?

I know its tough ...

Thanks,

Roy.

+3
source share
2 answers

If you don’t want to code everything manually, you can try the open source solution.

For example, https://code.google.com/p/phptagengine/

- , Flicker, Technorati, Delicious .., ZEND_Service .

+1

Source: https://habr.com/ru/post/1702427/


All Articles