Parse error: syntax error, unexpected T_STRING in nazwa strony on line 7
Oto kod cały
Kod
<?php include 'header.php'; ?>
<h1>News:</h1><br><br>
<table border="1" align="center">
<?php
$querynews=mysql_query("SELECT * FROM news ORDER BY id DESC LIMIT 1") or die(mysql_error());
while ($pokaz = mysql_fetch_array($querynews))
echo("<tr><td align="center" style="width: 300px">"<b>News .$pokaz['date'].</b>"</td></tr>");
echo("<tr><td align="center">".$pokaz['tresc']."</td></tr>");
echo("<tr><td align="center">"Pisał .$pokaz['username']."</td></tr>");
?>
</table>
<?php include 'footer.php'; ?>
<h1>News:</h1><br><br>
<table border="1" align="center">
<?php
$querynews=mysql_query("SELECT * FROM news ORDER BY id DESC LIMIT 1") or die(mysql_error());
while ($pokaz = mysql_fetch_array($querynews))
echo("<tr><td align="center" style="width: 300px">"<b>News .$pokaz['date'].</b>"</td></tr>");
echo("<tr><td align="center">".$pokaz['tresc']."</td></tr>");
echo("<tr><td align="center">"Pisał .$pokaz['username']."</td></tr>");
?>
</table>
<?php include 'footer.php'; ?>
Dopiero uczę się php i mysql więc proszę was o poprawienie mi tego skrypu
