<?php
require ("mysql.php");
$pasiimam = mysql_query("SELECT * FROM news");
while ($rodom = mysql_fetch_assoc($pasiimam)) {
$pavadinimas = $rodom['pavadinimas'];
$naujiena = $rodom['naujiena'];
echo "<div id='page'>";
echo "<div id='content'>";
echo "<div class='post'>";
echo "<h1 class='title'>".$naujiena."</h1>";
echo "<div class='entry'>";
echo "<p>".$naujiena."</p>";
echo "</div>";
echo "</div>";
echo "</div>";
}
?>