Hi my Prof. wants me to create a forum website from scratch. This forum contains only basic functionalities like creating a forum,a new thread in the forum, post a reply.

So I created a database which contains these tables:
Users
Groups
Forums
Topics
Posts

now in my homepage I want to display a list of available forums
i know i have to fetch these list from my database my question is how can I display these list of forums like how this forum site works? I mean when the forums are displayed I can click on it and and displays the threads then when i click on a certain thread displays the posts that belongs to the thread.I already tried querying the contents of a table but I cant click on it.

Please tell me how to do it, an example code I hope or send me links for tutorials or ebooks... THANK YOU

Heres i nice little tutorial i quickly found for you.

External Website

Should walk you right through the process