Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/06/2007, 18:35
joseluisbz
 
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\\''";
__________________
Jose Luis Bernal Zambrano
Please response to:
[email protected]