Quoting Luis A <[EMAIL PROTECTED]>:
### hi pasl i got a troblem here
###
###
### if some one can help me ?
###
### take a look at this
### <?php
### // process form
### $link = mysql_connect("localhost", "root");
you need to have the password as the third argument
$link = mysql_connect("localhost", "root", "password");
Also, why is it in a variable?
Just make it:
mysql_connect("localhost", "root", "password");
### mysql_select_db("mydb",$db);
### $sql = "INSERT INTO agenda (nombre, direccion, telefono, email) " +
### "VALUES ('$nombre', '$direccion', '$telefono', '$email')";
### $result = mysql_query($sql);
### echo "�Gracias! Hemos recibido sus datos.\n";
###
### ?>
###
###
###
### HE DOES NOT WORKING
###
### any subjest ?
###
###
###
###
--
Richard Whitney *
Transcend Development
Producing the next phase of your internet presence.
[EMAIL PROTECTED] *
http://xend.net *
602-971-2791
* * *
* * *__ * *
_/ \___ *
* / * \* *
*/ * * \
* */\_ |\
/ \_ / \
/ \____/ \
/ \
/ \
/ \
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php