How to escape strings in MSSQL using PHP?

Posted by Click Upvote on Stack Overflow See other posts from Stack Overflow or by Click Upvote
Published on 2009-02-22T11:54:43Z Indexed on 2010/03/26 21:03 UTC
Read the original article Hit count: 333

I'm looking for the alternative of mysql_real_escape_string() for MSSQL. Is addslashes() my best option or there is another alternative function that can be used?

Edit: Alternative for mysql_error() would also be useful.

© Stack Overflow or respective owner

Related posts about php

Related posts about sql-server