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: 1599
unsubscribe1.php ( 2.03k )
Number of downloads: 1618
Sorrytoseeyougo.html ( 1.02k )
Number of downloads: 1593
Hi
It works now!!!
I removed the quotes and % sign when I am binding the value.
Thanks.
The curly braces({}) are fine but I have no idea what the percent sign (%) is or even if it applies to PHP.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)