2012-08-27, 05:53 PM
Hi, I am getting this parse error:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' on line 15
Code:
Thanks
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' on line 15
Code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="style/style.css" />
</head>
</html>
<?php
require_once 'connect.php';
$result = mysql_query("SELECT * FROM announcements ORDER BY `id` DESC LIMIT 0 , 1");
?>
<?php
while($row = mysql_fetch_array($result))
{
echo "<table id="announcementbar" bgcolor='#0066ff' align='center' valign='top' border='0' height='29'>";
echo "<tr><td valign='top'><img src='http://websitebabble.com/images/icons/icon4.png' alt='Exclamation' border='0' title='Exclamation'></td><td align='center' valign='top' width='1200' height='29'><h4>" . $row['announcement'] . "</h4></td></tr></table>";
}
?>
Thanks