Page 1 of 1

mssql equivalent to mysql_escape_string...does it exist?

Posted: Mon Feb 21, 2005 3:00 pm
by Burrito
I really don't want to ahve to replace all chars in a string manually.

can I use mysql_escape_string or somethign similar for my queries off of my mssql server?

please advise,

thx,

Burr

Posted: Mon Feb 21, 2005 3:05 pm
by feyd
check the user comments on http://php.net/mssql_query

Posted: Mon Feb 21, 2005 3:19 pm
by Burrito
ok one more question re: mssql

is there something similar to mysql_error()?

I use that a lot when debugging queries.

Posted: Mon Feb 21, 2005 3:24 pm
by feyd