Re: Escape for MSSQL?
| From: | Jeff Carnahan | Date: | Fri, 13 Apr 2001 18:10:28 +0000 |
| Subject: | Re: Escape for MSSQL? | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8545@lists.php.net to get a copy of this message | ||
In article <MPG.1540df0b2c18fd69989680@news.php.net>,
jcarnahan@networq.com says...
}In article <3AD71444.E670CE13@gmx.net>, Yin.Yang@gmx.net says...
}}
}}Does anybody know how I can store a double-quote (") within a string in
}}a MSSQL-database?
}}
}
}See: http://www.mysql.com/doc/S/t/String_syntax.html
}
}And the handy PHP function addslashes()
}
}http://www.php.net/manual/en/function.addslashes.php
}
My apologies, you said MS-SQL.. Not MYSQL.. =)
See:
http://msdn.microsoft.com/library/wcedoc/adoce31/adoguide_27.htm
=)
--
Jeff Carnahan - jcarnahan@networq.com