rondog Posted May 15, 2008 Share Posted May 15, 2008 I know their is no mssql_real_escape_string so what can I do to do the same thing like for mysql_real_escape_string? Link to comment https://forums.phpfreaks.com/topic/105818-real_escape_string-for-mssql/ Share on other sites More sharing options...
Barand Posted May 15, 2008 Share Posted May 15, 2008 You can replace an apostrophe with a double apostrophe using str_replace() Link to comment https://forums.phpfreaks.com/topic/105818-real_escape_string-for-mssql/#findComment-542319 Share on other sites More sharing options...
RichardRotterdam Posted May 15, 2008 Share Posted May 15, 2008 could be wrong here but maybe addslashes () could work Link to comment https://forums.phpfreaks.com/topic/105818-real_escape_string-for-mssql/#findComment-542335 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.