Ok. here is what Im doing. Im not using any functions or anything.
$query = "Select * from articles where id = " .$id. "";
$result = mysql_query($query);
$num_results = mysql_num_rows($result);
echo "<table width='100%' cellpadding='2' cellspacing='2'>";
for ($i = 0; $i < $num_results; $i++)
{
$row = mysql_fetch_array($result);
$id = htmlspecialchars( stripslashes($row['id']));
$title = htmlspecialchars( stripslashes($row['title']));
$full_story = htmlspecialchars( stripslashes($row['full_story']));
$post_by - htmlspecialchars( stripslashes($row['post_by']));
echo " <tr>";
echo " <td class='blkText'>";
echo $title;
echo " </td>";
echo " </tr>";
echo " <tr>";
echo " <td class='blkText'>";
print ("$post_by");
echo " </td>";
echo " </tr>";
echo " <tr>";
echo " <td class='blkText'>";
print ("$full_story");
echo " </td></tr>";
}
echo "</table>";
I hope that helps. When I view the articles the $full_story variable ends up a full blob of text. I only have 2 <hr> tags one image tag and 3 link tags in the image. You can view the out put of the code at http://www.adrenaline-magazine.com/demo/articles/article.php?id=1