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