Dan_Mason Posted September 7, 2009 Share Posted September 7, 2009 DELETE Record problem Here is the Query: DELETE FROM login WHERE 'Email' = "Hello@Example.com" 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 Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/173398-mysql-delete-record-problem/#findComment-915037 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.