what do I put there?PHP Code:<?php
$sql = "SELECT * FROM NEWS";
$query = mysql_query($sql);
$total = mysql_num_rows($query);
$maxnews = 3;
if($total <= $maxnews)
{
//what do i put here??????
}
else{
while($result = mysql_fetch_array($query)) {
// echo news articles if total is no greater than 3
}
}
?>





lol.
Reply With Quote



