lo que uso para agregar es>
<?php require_once('Connections/cnn.php'); ?>
<?php
$fechac = strftime("%Y-%m-%d",strtotime($_POST["fecha"]));
$insertSQL = "INSERT INTO articulos (fecha, titulo,antetitulo, detalle, autor, cat) " ;
$insertSQL .= " VALUES ('" . $fechac . "','" . $_POST["titulo"] . "','" . $_POST["sumario"] . "','" . $_POST["detalle"] . "','" . $_POST["autor"] . "','" . $_POST["cate"] ."')";
$resultado = mysql_query($insertSQL) or die("La consulta falló: " . mysql_error());
header("location : mostrar.php");
?>
Como ven no lleva mucha ciencia mi script siempre y cuando funcione no hay problema pero no se si es el script el que ta fallando
necesito ayuda deseperadamente
Saludos
jorge
![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)