Ver Mensaje Individual
  #1 (permalink)  
Antiguo 27/11/2011, 14:30
Avatar de hackcrack
hackcrack
 
Fecha de Ingreso: abril-2011
Mensajes: 331
Antigüedad: 13 años, 1 mes
Puntos: 9
Sintaxys sql update

Esta bien esta sintaxys?

Código PHP:
UPDATE `pasteset titulo 'bye'paste 'hola'pass 'hi' WHERE key 463867821a0639d84ff4c8a6c69e049d 
Probe asi tambien

Código PHP:
UPDATE `pasteset titulo 'bye'paste 'hola'pass 'hi' WHERE key '463867821a0639d84ff4c8a6c69e049d' 
pero me tira el siguiente errror

SQL: UPDATE `paste` set titulo = 'bye', paste = 'hola', pass = 'hi' WHERE key = '463867821a0639d84ff4c8a6c69e049d'
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 'key = '463867821a0639d84ff4c8a6c69e049d'' at line 1
__________________
Los mejores juegos de PC gratis en ******