Gotcha, here is the the query and while loop that is holding the comments.
<?php
$query = "SELECT * FROM `profileComments` WHERE `ToUserID` = '".$prof->id."' ORDER BY `date` DESC, `time` DESC LIMIT 10";
$request = mysql_query($query,$connection);
while($result = mysql_fetch_array($request)) {
$poster = new User($result['FromUserID']);
echo "<div id='CommentProfile'>";
echo "<div id='CommentPhotoProfile'>";
echo "<a href='
http://www.blahblahblah.org/Profile.php ... poster->id."'>";
echo "<img src='" . $poster->img('mini') . "' border='0'/>";
echo "</a>";
echo "</div>";
echo "<div id='ProfileCommentBody' class= 'round_10px'>";
echo "<div id='CommentNameProfile'>";
echo "<div class='ProfileCommentTail'> </div>";
echo "<a href='
http://www.blahblahblah.org/Profile.php ... poster->id."'>";
echo $poster->first_name. " ". $poster->last_name. " <span style='font-weight:normal'>says...</span>";
echo "</a>";
echo "</div>";
echo stripslashes(nl2br($result['commentProfileBody']));
echo "<div id='CommentInfoProfile'>";
echo date('M d, Y',strtotime($result['date']));
echo " at " . date('g:i A',strtotime($result['time']));
/* assuming this is where I would put the if statement?
and please also note that DeleteComment.php exist, but I would rather not use it, right now it is a link to a page that confirms your comment has been deleted. I would rather the page reload with the comment deleted, as well as send the message marked as dead to the db*/
echo "<a href='
http://www.blahblahblah.org/DeleteComme ... .$prof->id."'>";
echo " delete";
echo "</a>";
echo "</div>";
echo "</div>";
echo "</div>";
}
?>