Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/09/2006, 11:08
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 9 meses
Puntos: 2135
Código PHP:
<?PHP 
$sql 
"UPDATE noticias SET titulo = ".$_POST['titulo'].", autor = ".$_POST['autor'].", fecha = ".$_POST['fecha'].", contenido = ".$_POST['contenido'].", nimagne = ".$_POST['nombre'].", imagen = ".$_POST['imagen'].", cat = ".$_POST['categoria']." WHERE id = " $_GET["id"]; 
if (
$titulo){mysql_query($sql,$db) or die( mysql_error() );}
?>
Postea el resultado que te da.