DELETE not working in database |
DELETE not working in database |
tudsy |
Sep 20 2017, 07:40 AM
Post
#1
|
Advanced Member Group: Members Posts: 246 Joined: 30-September 14 Member No.: 21,611 |
Hi
I have solved error 1044. In my script, I have the following lines: $sth = prepare('DELETE FROM subscribers WHERE emailaddress = :Email'); $sth -> bindValue(':Email', "%{$Email}%"); $sth -> execute(); When I execute the above there is no error but the record is still in the database! Can anyone help? Thanks. Adrian :shades: Unsubscribe.php ( 1.56k ) Number of downloads: 1630 unsubscribe1.php ( 2.03k ) Number of downloads: 1660 Sorrytoseeyougo.html ( 1.02k ) Number of downloads: 1631 |
Lo-Fi Version | Time is now: 11th May 2024 - 04:21 AM |