rendered paste body<?include('include/config.php');include('design/header.php');include('include/connect.php'); $result = mysql_query ('SELECT * FROM article ORDER BY articleid') or die (mysql_error());while($row = mysql_fetch_array ($result)) { $id=$row['articleid']; $title=$row['articletitle']; $author=$row['articleauthor']; $article=$row['articlebody']; $description=substr($article, 0, $limitlength); $icon=$row['articleicon']; $rating=$row['articlerating']; $rated=$row['articlerated']; include('design/articletop.php'); print "<img src=" . $icon . "><br>"; print "<h2><a href=viewarticle.php?id=" . $id . ">" . $title . "</a></h2>"; print "<p>" . $description . "</p>"; print "<h3>Posted by: " . $author . "</h3>"; include('design/articlebottom.php');}include('design/footer.php');?>