Ver Mensaje Individual
  #16 (permalink)  
Antiguo 23/05/2013, 12:23
Bernoo
 
Fecha de Ingreso: noviembre-2008
Mensajes: 100
Antigüedad: 15 años, 5 meses
Puntos: 4
Respuesta: Problema Actualizar datos MySQL

la validacion esta en el archivo function.php

Código:
if ($edit == 'tru') {

$v ='UPDATE $which SET';
$w =" WHERE ID = '$id'";

}else{
$v ='INSERT INTO $which SET';
$w = $nil;
}