Ver Mensaje Individual
  #7 (permalink)  
Antiguo 18/11/2008, 12:15
lauchalp95
 
Fecha de Ingreso: julio-2006
Mensajes: 254
Antigüedad: 17 años, 10 meses
Puntos: 0
Respuesta: Error en sintaxis MYSQL

Siento causar tantas molestias..

Haber, yo lo tengo así ahora mismo(lo modifique):
Cita:
$montito = "UPDATE 'tecnopoints' SET '$row_dat[tp]' = '$yu' WHERE 'usuario' = $_SESSION[MM_Username]";
$banqi = "UPDATE 'banco' SET '$row_banco[tp]' = '$ya' WHERE 'usuario' = $_SESSION[MM_Username]";

$ejecutomontito = mysql_query($montito) or die(mysql_error());
$ejecutobanqi = mysql_query($banqi) or die(mysql_error());
Y me lanza este error-:

Cita:
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 ''tecnopoints' SET '9223372036854775807' = '9223372036854775807' WHERE 'usuario' ' at line 1
¿Que error tiene mi sintaxis >.<?