close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Follow Up Questions: For my Premiere Ticket

Thread began 8/24/2011 1:46 am by Sly Verano | Last modified 9/30/2011 10:57 am by Sly Verano | 2819 views | 9 replies

Jason ByrnesWebAssist

In the comments table, you should have a column that relates the comment to the user that posted it. You would need to create a join query to return the users information, along with the comment.

I dont know the structure of your users table of the structure of your comments table, so cannot giver you the exact SQL query to use, but it would be something along the lines of:

SELECT users.firstName, users.lastName, users.profilePic, comments.*
FROM comments
INNER JOIN users ON comments.userID = users.userID

then to display that on your comments page you can use the bindings panel to bind the userFirslt name and last name column, and add an image tag to show their profile picture:

<img src="path/to/images/<?php echo $row_RecordsetName['profilePic']; ?>" />

to show the date the comment was made, your comments table would need to have a date column that stored the date, then use the bindings panel to add the binding for the date just like the others.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...