[PHP] problem with my recursive function

2005-05-13 Thread p80
I'm trying to display messages on my forum recursively, each message can have answers, the id of the parent post is in parentmessageid, the problem is that it only displays post that don't have answers ie post that have parentmessageid null /* here is my table: ++---+-

[PHP] problem with my recursive function

2005-05-13 Thread p80
you can check it out there: http://www.hashmysql.org/paste/viewentry.php?id=249 also here it is: /*I'm trying to display messages on my forum recursively, each message can have answers, the id of the parent post is in parentmessageid, the problem is that it only displays post that don't have an