I am trying to delete a row in the mysql database where the username and name_site have to be correct.
$query = "DELETE FROM 'personal_bookmarks' WHERE username='" . $_SESSION['username'] . "' AND name_site='" . $_POST['name_remove_site'] . "'";
$result = mysql_query($result) or die(mysql_error());
This results into a nice syntax error.
Could anyone tell me what i did wrong?