I have 3 tables in the database:
- Articles (spisok) - 2 fields:
id
,text
- Tags (tags) - 2 fields:
id
,tag
- Link (link) - 2 fields:
spisok_id
,tags_id
I want to generate a universal table of the output of the article itself and under it a list of tags for it. How to implement this table of relationships? How to search and display several tags related to the page?
I would really appreciate any help? I would like the php code itself ... I'm new and in pseudocode is not strong ...
And what type should be the data in all tables?