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!!!!!!!!

Recommended Answers

All 4 Replies

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.

thankx your idea i think it gonna work,
i`m trying it now.

thankx i can now send comments.

Great ! Congrats :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.