0

i created a profile,where after login someones Datas appears.
Now i need to put profile comment,that any member can leave a comment to another.
So i dont know how To get started especially with how the mysql table could be.
Help please!!!!!!!!

2
Contributors
4
Replies
5
Views
9 Years
Discussion Span
Last Post by nav33n
0

Basically, you need another table (comments) with columns to store who wrote the comment, on whose profile was the comment written and the comment. (You also may need more columns like date). I hope every user has a unique userid. Store the userids ("from" and "to" ) and comment in the table. Then while displaying the profile, check if there are any entries for this userid. If any rows found, display it.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.