So I almost have my delete function working...I have the page loading correctly without any fatal errors but still not doing the trick
Here is the portion of my while loop:
echo "<a href='http://www.@#@$#%##%#.org/Profile.php?id=".$prof->id."'>";
echo " delete";
echo "</a>";
and here is the portion of my query which is obviously wrong:
$query = "UPDATE `ProfileComments` SET `status` = 'dead' WHERE `id` = '".$prof->id."' LIMIT 1";
so how do I get this to delete the comment on the page? and mark the status dead in the db?
Thanks