![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
31/05/2008, 09:36
|
| | Fecha de Ingreso: enero-2008
Mensajes: 29
Antigüedad: 17 años Puntos: 0 | |
No me funciona el código No me funciona el siguiente código,a ver si alguien me dice que tiene de malo:
<?php
//recibimos las variables enviadas por el formulario
$name=$_POST[name];
$fecha=$_POST[fecha];
$desc=$_POST[desc];
$ncorto=$_POST[ncorto];
/* NOS CONECTAMOS A LA BASE DE DATOS */
include ("conex.php");
//insertamos los registros almacenados en las variables
mysql_query("insert into 'exhibiciones'('name','ncorto','fecha','desc') values('$name','$ncorto','$fecha','$desc')",$conne ct);
header("location: admin.php");
mysql_free_result($result);
mysql_close($connect);
?> |