The error is:
Parse error: parse error, unexpected T_ECHO, expecting ',' or ';' in XXXXXXXXXXX on line 126
Code:
Parse error: parse error, unexpected T_ECHO, expecting ',' or ';' in XXXXXXXXXXX on line 126
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>RetroBlockland</title>
</head>
<body style="background-position: left top; opacity: 0.792; background-repeat: repeat; color: rgb(255, 255, 51); background-color: rgb(255, 255, 255); background-image: url(bckground2.png);" alink="#ffcc33" link="#ffcc33" vlink="#cc9933">
<table style="background-color: rgb(255, 255, 255); width: 606px; height: 74px; text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="0" cellspacing="2">
<tbody style="background-image: url(./background3.png);">
<tr>
<td style="border: 3px solid rgb(0, 0, 102); height: 74px; width: 516px; background-color: rgb(204, 204, 255);"><img style="width: 595px; height: 109px;" alt="RetroBlockland" src="rbllogo.png"></td>
</tr>
</tbody>
</table>
<br>
<table style="background-color: rgb(255, 255, 255); width: 643px; height: 232px; text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="1" cellspacing="1">
<tbody style="background-image: url(./background3.png); background-repeat: no-repeat;">
<tr>
<td style="border: 3px solid rgb(0, 0, 102); height: 323px; width: 117px; text-align: center; background-color: rgb(204, 204, 255); vertical-align: top;"><span style="color: rgb(255, 255, 51);">.:Navigation:.</span><br style="color: rgb(255, 255, 51);">
<br>
<a href="./index.php">Home</a><br>
<a href="./archives.php">Archives</a><br>
<a href="./gallery.php">Gallery</a><br>
<a href="./mods.php">Mods</a><br>
<a href="./addons.php">Add-Ons</a><br>
<a href="./maps.php">Maps</a><br>
<a href="./bricksaves.php">Brick Saves</a><br>
<a href="./helpfaq.php">Help/FAQ</a><br>
<a href="./contactus.php">Contact Us</a><br>
<a href="./forum/index.php">Forum</a></td>
<td style="width: 6px; height: 323px; background-color: rgb(255, 255, 255); text-align: center; background-image: url(./background.png);"></td>
<td style="border-style: solid; border-color: rgb(0, 0, 102); height: 323px; width: 445px; background-color: rgb(204, 204, 255); text-align: center; vertical-align: top;">
<div style="text-align: center;"></div>
<center>
<div style="text-align: left;">
</div>
<br>
<?php
$host = "localhost"; // the database location. if you dont know it, leave it as it is
$dbuser = "XXX"; // the database username
$dbpass = "XXXs"; // the databases user's pass
$dbname = "XXX"; // the name of the database
// The actual connection. DO NOT EDIT THESE
mysql_connect("$host","$dbuser","$dbpass"); // Using the variables stated above
mysql_select_db("XXX");
// the query view code.
$find = mysql_query("select * from XXX LIMIT 0,5");
// getting all the info
while($f=mysql_fetch_array($find))
{
$author=$f["author"];
$content=$f["content"];
$title=$f["title"];
$date=$f["date"];
}
echo '<table style="text-align: left; width: 450px; height: 202px;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td
style="border-style: solid; border-color: rgb(255, 204, 0); height: 25px; background-image: url(./yellow7.png);">';
echo $title
echo ' :: By: ';
echo $author
echo ' :: Post Date: ';
echo $date
echo '</td>
</tr>
<tr>
<td
style="border-style: solid; border-color: rgb(255, 204, 0); height: 150px; background-image: url(./yellow5.png); text-align: left; vertical-align: top;">';
echo $content
echo ' </td></tr></tbody></table>';
?>
</center>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>