t_message
msg_id
message
username
date_post
url
t_comment
com_id
comment
msg_id
username
date_comment
url
How can I show comment based on msg_id ?
Example :
john posted message : welcome to my world.
Then jane commented his message : welcome too.
and greg commented too : welcome boss…
other jane posted message : i’m happy today.
then Greg commented her message : wow…
Should be each will be different show right ?
Any suggestions ?
To retrieve comment based on msg_id
To retrive comments and message based on a msg_id