Jump to content

[SOLVED] comments and replies


frijole

Recommended Posts

You should be able to use the same table, just have a parent_id column. So any row "WHERE parent_id IS NULL" would be an original comment, and then you can "SELECT .. WHERE parent_id = '$id'" for the replies. This also allows you to have replies to replies.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.