Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/03/2007, 07:46
Grothias
 
Fecha de Ingreso: marzo-2007
Mensajes: 129
Antigüedad: 17 años, 1 mes
Puntos: 0
¿Cómo modifico un registro en MySQL?

¿Cómo modifico un registro en MySQL?

Lo tengo puesto así:

Código PHP:
mysql_query("UPDATE texto SET txt='$_SESSION[txt]' WHERE user_id='$_SESSION[user_id] AND ttxt='$ttxt'") or die ("<b>ERROR</b>"); 
Pero me tira error.

¿Alguien encuentra algún fallo?

Un saludo!