RE: [PHP-DB] Escape for MSSQL?
| From: | Manuel Prieur | Date: | Fri, 13 Apr 2001 18:06:59 +0000 |
| Subject: | RE: [PHP-DB] Escape for MSSQL? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8544@lists.php.net to get a copy of this message | ||
You may also double it : ""
Manuel Prieur
-----Message d'origine-----
De : Jeff Carnahan [mailto:jcarnahan@networq.com]
Envoyé : vendredi 13 avril 2001 20:02
À : php-db@lists.php.net
Objet : Re: [PHP-DB] Escape for MSSQL?
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
--
Jeff Carnahan - jcarnahan@networq.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net