I have been recieving the error
Parse error: parse error, unexpected ')' in /home/paper/public_html/work/manage.php on line 36
for this code:
....
?>
<html>
<head>
<title>Manage Links</title>
</head>
<body bgcolor="#ffffff">
<h1>Edit Links</h1>
<?
$sql = " SELECT * FROM featured ";
$rs = mysql_query($sql, $cid);
if (mysql_error()) { print "Database Error: $sql " . mysql_error(); }
print "<p><table cellpadding=4>\n");
while ($row = mysql_fetch_array($rs))
{
$person = $row["person"];
$id = $row["id"];
print "<tr>";
print "<td>$person</td>\n";
print "<td><a href=\"manageedit.php?id=$id\">Edit</a></td>";
print "<td><a href=\"manage.php?id=$id&task=del\">Delete</a></td>";
print "</tr>";
}
print "</table>";
}
?>
</body>
</html>
it is giving me a headache. an someone point me in the right direction?