Location: PHPKode > projects > Sloppy Blog > sloppy-blog/news.php
<?
include("dbconnect.php");
$getnews = mysql_query("select * from news ORDER BY id DESC limit 5");
while($r=mysql_fetch_array($getnews)){
extract($r);
echo("<i>$date CST</i><BR><b><u>$title</u></b><BR>".substr($news,0,300)."<BR><a href=fullnews.php><font size=-2>READ MORE</font></a>...<HR>");
}

?>
Return current item: Sloppy Blog