Username: Posted September 24, 2010 Share Posted September 24, 2010 I've already made fully working create topic, etc; what would I need to make to reply to a thread? I've gotten this so far... <?php $result = mysql_query("SELECT id FROM b ORDER BY id DESC"); while ($row = mysql_fetch_array($result, MYSQL_NUM)) { printf("<a href='reply.php?id=%s'>Reply</a><hr><br /><br />", $row[0]); } mysql_free_result($result); ?> reply.php?id=%s (%s equaling the thread id) when I click it, it does bring me to the appropriate page, but I don't know where to go from there. Any help? :shrug: any other info you might need just ask Link to comment https://forums.phpfreaks.com/topic/214261-reply-to-a-threadtopic/ Share on other sites More sharing options...
trq Posted September 24, 2010 Share Posted September 24, 2010 Assuming your table has a 'parent' field or equivelent, the id from the original post needs to be inserted into it. Link to comment https://forums.phpfreaks.com/topic/214261-reply-to-a-threadtopic/#findComment-1114926 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.