I am currently creating a forum system and have gone completely blank as how to fix this issue!
The issue is as follows:
A topic is created. A user comes along and comments on the topic and message is posted on the thread. Right!
Now another user comes along and views the topic and sees that there is a comment left by a user. So, user decides to reply to this comment not directly related to the topic and clicks on 'reply now'.
Anyways onces the types in the message to this comment he clicks on the button 'reply now'.
So, now when the message is posted on the thread, there are two messages, both from a different user.
My plan is to put the old message into a box or quote box and have the old message below which I am unable to acheive.
My code for posting this message is as follows:
echo "<form method=\"post\" action=\"./index.php?act=test&id=".$row['tid']."&reply_id=".$reply_id."\">\n"; echo "<table border=\"0\" width=\"100%\" cellspacing=\"3\" cellpadding=\"3\">\n"; echo "<tr><td colspan=\"2\" align=\"center\"><textarea style=\"width:90%;height:200px\" name=\"reply\"></textarea><br><input type=\"submit\" name=\"submit\" value=\"Add Reply\" stlye=\"width:90%\"></td></tr>\n"; echo "</table>\n"; echo "</table>\n";
$row stores the old message. This message is just in plan text but I would like to have this message in a
box once posted.