~ I want to store the parent comment to the comment being added, so I can ensure the comments are printed out in the correct order.
Then, see the post earlier called "SQL schema", where there is child->parent relationship with comments.
But you now when a user post a comment which is the parent comment(0 if there is no parent, or the value you give thanks to a hidden input field in your wiki), so you normally don't need that extra query.
-- Philippe Poelvoorde COS Trading Ltd.
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]