ThomasJSmart
Programmer
- Sep 16, 2002
- 634
hello,
i would very much apreciate any help anyone can give me with the following conundrum.
i'll keep it simple.
i have a msgboard. all posts are saved into a database. i can get the messages out and display these like this:
1- msg 1
2- msg 2
3- msg 3
BUT now i want to add the option to reply to a message. the replies have to be shown with the origional like this:
1 - msg1
- reply 1
- reply 2
2- msg 2
3- msg3
- reply 1
- reply 2
- reply 3
iv tried adding a new field called 'reply' to the database, if 'reply' == 0 then it is an original post. if it is a reply then the "reply" field holds the ID for the origional post.
i started of thinking this would be very logical but now im stuck :-(
how do i get it to work??
if you have the time please explain, this is of more use to me than a chunk of code ;-) many thanks.
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
i would very much apreciate any help anyone can give me with the following conundrum.
i'll keep it simple.
i have a msgboard. all posts are saved into a database. i can get the messages out and display these like this:
1- msg 1
2- msg 2
3- msg 3
BUT now i want to add the option to reply to a message. the replies have to be shown with the origional like this:
1 - msg1
- reply 1
- reply 2
2- msg 2
3- msg3
- reply 1
- reply 2
- reply 3
iv tried adding a new field called 'reply' to the database, if 'reply' == 0 then it is an original post. if it is a reply then the "reply" field holds the ID for the origional post.
i started of thinking this would be very logical but now im stuck :-(
how do i get it to work??
if you have the time please explain, this is of more use to me than a chunk of code ;-) many thanks.
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!