it still didnt work. 🙁
Here is the PHP code I have. The rest is HTML:
<?php
$query = "SELECT * FROM newnews ORDER BY date DESC LIMIT 1";
$result = mysql_query($query) or die("Could not store database info in temporary results.");
while($row = mysql_fetch_array($result, MYSQL_ASSOC)){ echo "<font color="#FF9900" style="font-size: 15pt"><a href="viewnews.php?newsid=" . $row['newsid'] . " ><font color="#FF9900">" . $row['newstitle'] . "</font></a></font></b></td>"; }
?>
</tr>
<tr>
<td width="400" height="1" colspan="3">
<?php
$query = "SELECT * FROM newnews ORDER BY date DESC LIMIT 4";
$result = mysql_query($query) or die("Could not store database info in temporary results.");
while($row = mysql_fetch_array($result, MYSQL_ASSOC)){ echo "<b><a href=viewnews.php?newsid=" . $row['newsid'] . " ><font color="#FFFFFF">" . $row['newstitle'] . "</a></b></font>"; }
?>
When I run it, I get this error: Parse error: parse error, unexpected $ in /home/t/a/tattwo/public_html/gaminglabs/gamecenter/indexnews.php on line 47