Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001041

RE: [PHP-DB] Escape for MSSQL? From: Manuel Prieur (manuel.prieur <email protected>)
Date: 04/13/01

You may also double it : ""

Manuel Prieur

-----Message d'origine-----
De : Jeff Carnahan [mailto:jcarnahan <email protected>]
Envoyé : vendredi 13 avril 2001 20:02
À : php-db <email protected>
Objet : Re: [PHP-DB] Escape for MSSQL?

In article <3AD71444.E670CE13 <email protected>>, Yin.Yang <email protected> 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 <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>