Currently I'm using this SQL query to connect 2 tables but now, I need to add a 3rd table in the same manner as the "links" table in the following query.
My 3rd table is called knowledge and would end up something like:
How can I do this where the main table is tracker, and the linked tables (that are connected simply to find the name of the page) are the LINKS and KNOWLEDGE tables?
_______________
_brian.
Code:
SELECT * FROM tracker LEFT JOIN links ON tracker.location = CONCAT('link[', links.linkid, ']') ORDER BY tracker.occurred DESC LIMIT 0, 15
Code:
LEFT JOIN knowledge ON tracker.location = CONCAT('kb[', knowledge.knowledgeid, ']')
How can I do this where the main table is tracker, and the linked tables (that are connected simply to find the name of the page) are the LINKS and KNOWLEDGE tables?
_______________
_brian.