•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 374,010 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,872 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 223 | Replies: 4 | Solved
![]() |
•
•
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,041
Reputation:
Rep Power: 8
Solved Threads: 227
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.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
*PM asking for help will be ignored*
*PM asking for help will be ignored*
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
Similar Threads
- ASP.Net/C# Developer Needed (Web Development Job Offers)
- MMORPG Creation Team needed (Software Development Job Offers)
- how to read unix profile variable into Perl (Perl)
- Help needed... Can't access moved files XP :( (Windows NT / 2000 / XP / 2003)
- Virus Of Death - Help Needed! (Viruses, Spyware and other Nasties)
- Needed advisors / mods / stuff / article writers (Internet Marketing Job Offers)
- Serious help needed ASAP error message!!!! (Pascal and Delphi)
- Diverse Opinions Needed (Site Layout and Usability)
Other Threads in the PHP Forum
- Previous Thread: Based on IP address change the info of a site
- Next Thread: arrange values from row of database in php from max to min, from min to max and value



Linear Mode