Basically, I'm writing a small forum script for an intranet.
I've got 3 mysql (MySQLi) tables for the forum:
forum_answer - holds replies forum_question - holds first posts forum_categories - holds names and description of categories.
Ok, so on the forum index, I've got a table to fetch all the categories, however, I've also one column to fetch the last post made in that category/forum.
Do you have any ideas on how I could get the last post made in that forum?
I was thinking of maybe adding a new column on the forum_categories table, and updating it each time a post is made, however, that could get messy.
Thanks :)