Hi,
I'm working on a CMS for a FAQ-page.
Since there can be unlimited questions/answers added by the administrator, I guess I'll have to use some sort of join in order to link questions and answers together.
I now have two tables, questions and answers respectively, looking like this:
I'm afraid this isn't the right approach, but I'm really not very familiar with joins.Code:questions --------- id INT NOT NULL AUTO_INCREMENT PRIMARY KEY text TEXT answers ------- id INT NOT NULL AUTO_INCREMENT PRIMARY KEY text TEXT
How can I output a nice list of Q and A in the right order?






Bookmarks