Parašė Noyz· 2010 Gru. 4 17:12:15
#5
weberiz parašė:
<?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>";
}
?>
veiks jaigu nera poveikio kitokio kaip
css ir pan
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in C:\xampp\htdocs\ntvs\index.php on line 48
48 : echo "<h1 class='title'>".$naujiena."</h1>";