$result = mysql_query("select id, title, date_time, content from posts order by date_time");
while($row = mysql_fetch_row($result)) or die(mysql_error()){
@$date = date("M d Y g:iA", strtotime($row[1]));
echo '<span class="title"><b>Title:</b> '.$row[0].' <b>Date:</b> '.$date.'</span>';
echo '<br><span class="content"><b>Content:</b></span> '.$row[2].'';
echo '<br><b><a href="?action=comment&id='.$row[3].'">Le… a Reply</a></b>';
echo '<br>Comments associated with this post:';
echo get_comments("select id, author_name, date_time, email, comment from comments where post_id = '".$row[3]."'");
/*
$result = mysql_query("select id, author_name, date_time, email, comment from comments where post_id = '".$id."'");
for($i = 1; $row = mysql_fetch_row($result); $i++){
@$date = date("M d Y ", $row[2]);
echo '<b>'.$i.'.</b> '.$row[4].'<br> <b>By:</b> '.$row[1].' at '.$row[3].' on '.$date.' <a href="?action=delete_comment&id='.$row[0… this comment</a>';
}
*/
echo '<br><br>';
}
not sure whats causing this error. please help

