Re: Re[3]: [PHP] HTML in database

2007-07-04 Thread Bruce Cowin
Oh, thanks very much. I didn't know about PDO before. I wish I had before I had written my own db class! :-) Thanks again and I'll try it out. Regards, Bruce >>> Richard Davey <[EMAIL PROTECTED]> 5/07/2007 12:38:02 p.m. >>> >> Thanks. Sorry, I should have mentioned I'm using MS Sql Server

Re[3]: [PHP] HTML in database

2007-07-04 Thread Richard Davey
>> 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 '' conversion. And to reply to my own reply :) ... If you can