why does this give me an unexpected T_ECHO...
the line with the error is the first line on the above script.PHP Code:$category = $row[category]
echo("
<a href=\"index.php?view=tutorials\">Tutorial Index</a> > <a href=\"index.php?view=tutorials&category=".$category."\">$category</a> > ".$title."<br />
<table width=\"100%\" style=\"border: 1px solid #BBCDA3;\">
<tr>
<td>$title by - ".$author." ($views Views)</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
".$tutorial."</td>
</tr>
");
echo("
<tr>
<td>
<br /><br />
<a href=\"index.php?view=tutorials&action=report&id=$id\">Report This Tutorial</a>
</td>
</tr>
");
}
echo("
</table>
<br />
");
if (mysql_num_rows($comments) == "0") {
echo("There are no comments!<br />");





Reply With Quote




