According to http://us.php.net/addslashes
this is the expected output:
$str = "Is your name O'reilly?";
// Outputs: Is your name O\'reilly?
Instead, I get this on my server:
Why am I getting two quotes, instead of it being escaped?
The server PHP version is 4.4.4 and MySQL 4.1.22-standard.