![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
31/01/2008, 21:36
|
![Avatar de jorgedx](http://static.forosdelweb.com/customavatars/avatar104634_3.gif) | | | Fecha de Ingreso: junio-2005 Ubicación: Chile, Los Andes
Mensajes: 406
Antigüedad: 19 años, 8 meses Puntos: 4 | |
Re: Que me falta poner para que envie la informacion? PHP a DB solo te falta hacer el Cita: $query=mysql_query(INSERT INTO tabla (nombre,del,campo) VALUES (NOMBRES,DE,VARIABLES) );
ejemplo Código PHP: $insertar=mysql_query("INSERT INTO tabla (id,nombre,edad,mail,ciudad) VALUES ('','$nombre','$edad','$mail','$ciudad')")or die("Insert Error: ".mysql_error());
if(!$insertar) { echo "<b>Error al ingresar</b></font><br>"; } else { echo "<b>Ingreso correcto</b><br>Bienvenid@ !!<br><br>"; } }
__________________ Nuevamente a las pistas ... |