<html>
<head>
</head>
<body>
<table width="452" border="0" cellpadding="0" cellspacing="0">
<?PHP
$dbc = mysql_pconnect('localhost','cape','e387985');
mysql_select_db('cape_program',$dbc);
$number_of_chars = 177
$sql = "SELECT id,address,city,state,zip,description,price,tn FROM db_x WHERE listing='land'";
$dbq = mysql_query($sql,$dbc);
while ($row = mysql_fetch_array($dbq)) {
echo '<tr>';
echo '<td width="62"><a href="homes.php?id='.$row[id].'"><img src="wizard/data/'.$row[tn].'" width="50" height="50" border="0"></a></td>';
echo substr('<td width="300">$ '.$row[price].' - '.$row[address].', '.$row[city].', '.$row[state].', '.$row[zip].'<br>'.$row[description].'</td>', 0, $number_of_chars;
echo '</tr>';
}echo $string_to_be_echoed, 0, $number_of_chars);
?>
</table>
</body>
</html>
This is soposed to print me back a table, and i get this result
Parse error: parse error, unexpected T_VARIABLE in /home/cape/public_html/land.php on line 11
Can anyone please assist me in this matter?
Thank you for your time
~Gabor