DELTE ROW

wxdqz

New Member
I have my select page that selects the id from the db of the row i want to delete, then i have the link del.php?id=$id which works just fine, but when i click on the link to take it to my delete script it doesn't delete it.
Now let me show you my code that i have on the delete script

Now keep in mind i am triny go delete the row where id = $id



$db = mysql_select_db("db",$connect);
$sql = "DELETE id, from, recive, message, public FROM msystem where id='$id'";
mysql_query($sql,$connect);
$msg = rawurlencode("<center><font color=red>Message Deleted Successfully</font></center>");
header("location: inbox.php?msg=$msg");


Thanks
Anthony
 
Back
Top