Ver Mensaje Individual
  #4 (permalink)  
Antiguo 13/07/2009, 10:03
Avatar de lukas4
lukas4
 
Fecha de Ingreso: octubre-2008
Ubicación: frente al pc
Mensajes: 496
Antigüedad: 15 años, 6 meses
Puntos: 12
Respuesta: esta bien esto? es mysql y php

tratale asi:

Código php:
Ver original
  1. mysql_query ("UPDATE mensajes SET de='$de', para='$para', asunto='$asunto' mensaje='$mensaje', fecha='$fecha', ip='$ip' WHERE id = '".$_POST['id']."'",$conexion);

en caso de que no funcione pon:

Código php:
Ver original
  1. mysql_query ("UPDATE mensajes SET de='".$_POST['de']."', para='".$_POST['para']."', asunto='".$_POST['asunto']."' mensaje='".$_POST['mensaje']."', fecha='".$_POST['fecha']."', ip='".$_POST['ip']."' WHERE id = '".$_POST['id']."'",$conexion);

trata asi, y no dices como te fue