chaking Posted August 14, 2008 Share Posted August 14, 2008 I understand MSSQL uses the ' character to escape - however, the only functions I see built for escaping strings that are going into MSSQL dBs is: function mssql_escape($str) { return str_replace("'", "''", $str); } What about double quotes? Do they need escaped? Do asterisks or anything else need escaped? Quote Link to comment https://forums.phpfreaks.com/topic/119590-mssql-escape/ Share on other sites More sharing options...
corbin Posted August 14, 2008 Share Posted August 14, 2008 "What about double quotes? Do they need escaped? Do asterisks or anything else need escaped?" No. Quote Link to comment https://forums.phpfreaks.com/topic/119590-mssql-escape/#findComment-616186 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.