0 ORDER BY `date` DESC LIMIT 0,20"; $result = mysql_query($sql); if (mysql_num_rows($result) > 0){ echo "

News



"; echo "\n"; } while($row = mysql_fetch_array($result)) { echo ""; } if (mysql_num_rows($result) > 0){ echo "
"; echo "
\n

".$row['header']."

\n"; echo "

".date("d F, Y",strtotime($row['date']))."

\n"; echo "

".$row['body']."

\n

\n"; echo "
\n"; } mysql_close($con); } ?>