
29/06/2007, 18:35
|
| | Fecha de Ingreso: febrero-2007 Ubicación: Barranquilla, Colombia
Mensajes: 181
Antigüedad: 18 años, 1 mes Puntos: 3 | |
Re: Caracteres de escape Se me ocurre que le antecedas una barra con una función, ejemplo:
StringSQL = ReemplezarComaPorBarrayComa(StringSQL)
Y ahí sí lanzar la sentencia a MySQL
en PHP $ugrantee = "'\'$Idnt\'@\'localhost\''";
en JSP String ugrantee = "'\\'"+Idnt+"\\'@\\'localhost\\''"; |