Ver Mensaje Individual
  #4 (permalink)  
Antiguo 05/02/2011, 13:08
Avatar de bocho0610
bocho0610
 
Fecha de Ingreso: enero-2010
Ubicación: <? echo "Santiago, Chile"; ?>
Mensajes: 341
Antigüedad: 14 años, 4 meses
Puntos: 26
Respuesta: que le ocurre a mi update? aveces envia vacio otras no

Código PHP:
Ver original
  1. $id = $_POST['id'];
  2. $nombre = $_POST['nombre'];
  3. $apellido = $_POST['apellido'];
  4.  
  5. $ssql = mysql_query("UPDATE tabla SET nombre = $nombre, apellido = $apellido where id=$id");

si que tienes problemas, esa es una forma de hacerlo. Modificalo si sabes.
__________________
Sigueme en Twitter!
Septimoarte.cl <-- Un mundo en cine.