![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
31/03/2002, 12:13
|
![Avatar de El Menda](http://static.forosdelweb.com/customavatars/avatar6999_1.gif) | | | Fecha de Ingreso: junio-2001 Ubicación: Jaén
Mensajes: 516
Antigüedad: 23 años, 7 meses Puntos: 0 | |
Re: mysql no almacena info del foemulario hay cosas que no se si estan bien. Comprueba que los nombres los has escrito bien y que los campos existen. Aqui te pongo un code q yo utilizo:
<?php
$mysql_link = mysql_connect("hostskt", "userskt", "passwordskt");
mysql_select_db("baseskt", $mysql_link);
$sql = "INSERT INTO noticia (titulo, url, cuerpo) VALUES('$titulo', '$url', '$cuerpo')";
echo "Noticia Añadida<p>
?>
<form name="Insertanoticia" method="post" action="modnoticia.php3">
Titulo:<input type="Text" name="titulo" value=""><br>
Url:<input type="Text" size="60" name="url" value="">
Cuerpo<textarea cols="69" name="cuerpo" rows="8"></textarea>
Ya ta ;) |