There is one sql database for it (using phpmyadmin) consisting of a table - 'threads'.
threads
id - primary key, auto incrementing
comment_title
comment
author
time
the time of the post goes into 'time' the author of the post goes into author, a user submitted message goes into comment and the messae title goes into 'comment_title'.
next the data is shown on a form(the message titles as a link to another form displaying the message).
Heres where im stuck, i cant figure out to make a reply to the message that is posted. I thought about using the primary key 'id' in the threads table somehow to link the reply message to a specific post but im completely unsure how to go about this (each post has a unique id number).
Im fairly new to sql and php.
Any help or suggestions would be greatly appreciated.