Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/10/2014, 09:00
rrufo
 
Fecha de Ingreso: enero-2002
Mensajes: 1.438
Antigüedad: 22 años, 3 meses
Puntos: 0
Sonrisa error en CreateParameter("param5", 202, 1, 255,

esta linea funciona bien en local con mysql5
pero da un error en remoto con mysql3

Cita:
[MySQL][ODBC 3.51 Driver][mysqld-4.1.22-community-nt-log]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@a.com, Rue)' at line 1
Código:
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param5", 202, 1, 255, Request.Form("Rue")) ' adVarWChar
. . .
<textarea name="Rue" cols="50" rows="5"></textarea>

pero el jodido funciona si pongo un input

Código:
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param5", 202, 1, 255, Request.Form("Rue")) ' adVarWChar
. . .
<input type="text" name="Rue" value=""  />