Thanks Bradgrafelman,
Yes, all user comments are stored in a database just as the user types them.
It took me a bit to figure it out because I'm using concatenation to build the html output.
I ended up with the below code and was wondering if this was the best way to do this.
$displayComments .=
'<div class="post" style="background-color:'.$row_color.'">
<p><b>Posted By</b>: <span>'.$name.'</span> | <b>On</b>: '.$cmtDate.' | <b>Website</b>: '.$website.'</p>
<p>'.nl2br($comment).'</p></div>';
I'm thinking I can probably do something within the while loop instead of the above? My other problem is figuring out how to get xhtml line breaks.
Thanks for your help.