$query = "DELETE FROM `member` WHERE `user_name` = $name";
mysql_query($query);
SQL query:
$query = "DELETE FROM member WHERE user_name = zoomaway";//testuser
MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$query = "DELETE FROM member WHERE user_name = zoomaway"' at line 1
This is baffling because I have used Delete before with no errors.