Jump to content

Related rows


The Little Guy

Recommended Posts

What would be the best way to find 5 related articles for the current article?

 

I have a page that has a question and an answer, I would like to get 5 other pages that are related to the current page.

 

What would be a good way to write something like this?

 

The table has these columns:

- id

- category

- question (fulltext search)

- answer (short answer)

- details (more information explaining the answer)

- timestamp

Link to comment
https://forums.phpfreaks.com/topic/186319-related-rows/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.