Hi, I'm programming a forum. Every "RE: " entry has a "parent_id" which is "id" of the parent entry. How could I say this is the Link to the next db_entry? The id of the comments are not in order because not every Person writes a "RE: " entry - he could start a new thread. Thanks for your help Hoth -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]