![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
07/05/2008, 16:40
|
![Avatar de Fogox](http://static.forosdelweb.com/customavatars/avatar232522_2.gif) | | | Fecha de Ingreso: abril-2008
Mensajes: 59
Antigüedad: 16 años, 9 meses Puntos: 0 | |
Re: Consulta porq no me escribe en las bases.... ? el scripts quedaria asi????
if (isset ($_POST['nombre'])){
$nombre =$_POST ['nombre'];
$telefono =$_POST ['telefono'];
$sql = "insert into agenda (nombre, telefono) VALUES (\''.$nombre.'\', \''.$telefono.'\')";
mysql_query ($sql,$cnx);
}
???? |