$query = mysql_query("SELECT * FROM comments WHERE page_id='".$param[1]."'");
while($row_com = mysql_fetch_assoc($query)) {
$result_com .= '
<div><a href="/profile/'.$row_com['user_id'].'">'.$row_com['author'].'</a></div>
<div>'.$row_com['comment'].'</div>';
}