Dan_Mason Posted September 7, 2009 Share Posted September 7, 2009 DELETE Record problem Here is the Query: DELETE FROM login WHERE 'Email' = "[email protected]" It is not throwing up any errors, as all the information in the database matches the query but when I run it in the SQL Editor, it says "Query OK, 0 rows affected (0.00 sec)". This also happens when I run the query in my PHP Code. (It definately is not removing the record from the database) Any Ideas what I could do? Any help would be very appreciated Link to comment https://forums.phpfreaks.com/topic/173398-mysql-delete-record-problem/ Share on other sites More sharing options...
fenway Posted September 8, 2009 Share Posted September 8, 2009 You have e-mail in single quotes, not backticks. Link to comment https://forums.phpfreaks.com/topic/173398-mysql-delete-record-problem/#findComment-915037 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.