User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Mar 2008
Posts: 53
Reputation: mrcniceguy is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
mrcniceguy mrcniceguy is offline Offline
Junior Poster in Training

Profile Help needed

  #1  
May 9th, 2008
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!!!!!!!!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,041
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 8
Solved Threads: 227
nav33n's Avatar
nav33n nav33n is offline Offline
Posting Sensei

Re: Profile Help needed

  #2  
May 9th, 2008
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*
Reply With Quote  
Join Date: Mar 2008
Posts: 53
Reputation: mrcniceguy is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
mrcniceguy mrcniceguy is offline Offline
Junior Poster in Training

Re: Profile Help needed

  #3  
May 9th, 2008
thankx your idea i think it gonna work,
i`m trying it now.
Reply With Quote  
Join Date: Mar 2008
Posts: 53
Reputation: mrcniceguy is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
mrcniceguy mrcniceguy is offline Offline
Junior Poster in Training

Re: Profile Help needed

  #4  
May 13th, 2008
thankx i can now send comments.
Reply With Quote  
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,041
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 8
Solved Threads: 227
nav33n's Avatar
nav33n nav33n is offline Offline
Posting Sensei

Re: Profile Help needed

  #5  
May 14th, 2008
Great ! Congrats
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*
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb PHP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 10:44 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC