I'm not sure exactly what you are asking for. Usually if you want a comment associated with a user you would:
1) Require the user to log in
2) save the user ID during log in
3) insert the ID of the user with the comment into the comments table
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.