Ver Mensaje Individual
  #6 (permalink)  
Antiguo 17/12/2006, 22:43
Avatar de ..::MaRcOs::..
..::MaRcOs::..
 
Fecha de Ingreso: diciembre-2006
Mensajes: 328
Antigüedad: 17 años, 4 meses
Puntos: 3
Re: Ayuda con php y sql...

Muchas gracias
problema resuelto


<?php
mysql_connect("localhost","root","");
mysql_select_db("prueba");
mysql_query("INSERT INTO noticias (titulo, texto, autor)
VALUES ('$_POST[titulo]', '$_POST[texto]', '$_POST[autor]')");
echo 'datos registrados';
?>

PD: Cualquier duda estare preguntando jejeje
me disculpan hay...es que estoy aprendiendo....