Hi Bruce,
Thursday, July 5, 2007, 1:26:01 AM, you wrote:
Thanks. Sorry, I should have mentioned I'm using MS Sql Server and
I don't see a mssql equivalent to that function.
MSSQL treats '' as an escaped ', not \' like MySQL does.
So you can't addslashes it. Perform your own ' to ''
I was still having the same problems even with PDO, but doing my own replace:
$body = str_replace(', \, $body);
fixed the problem. Thanks again!
Regards,
Bruce
Richard Davey [EMAIL PROTECTED] 5/07/2007 12:34:29 p.m.
Hi Bruce,
Thursday, July 5, 2007, 1:26:01 AM, you wrote:
Thanks.
2 matches
Mail list logo