Hallo again...
Here is the code that gets info from database and put them in the index.php but when i run it it returns me this error :
Parse error: syntax error, unexpected T_STRING in /var/www/index.php on line 144
:s Maybe its something that i cannot see...:s If you can find one mistake... please tell me 🙂
here is the code...:
$query = "SELECT * FROM site_entries ORDER BY date_entered DESC";
if ($r = mysql_query($query)){
while ($row = mysql_fetch_array($r)){
print "<TD ALIGN=RIGHT VALIGN=TOP><TABLE><TR><br>
<TD HEIGHT=14 WIDTH=1 BGCOLOR=CYAN></TD></TR></TABLE></TD>
<TD STYLE="padding-right: 10px; padding-bottom: 8px">
<P ALIGN=justify><FONT FACE="Tahoma, Helvetica, Arial" SIZE=2 COLOR="#90C0FF">
<br>
<span style="background-color: darkred; color: white; border: 1px dashed red; font-weight: bold; font-size: 80%; padding: 0 0.5ex 0 0.5ex">NEW</span>{$row['title']} <br><br><FONT FACE="Lucida Console, Courier New, Fixed" SIZE=1 color="red">{$row['entry']}</font></FONT></TD></TR><TR> ";
}
?>