mysql trouble
| From: | Luis A | Date: | Tue, 25 Feb 2003 23:04:23 +0000 |
| Subject: | mysql trouble | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-137155@lists.php.net to get a copy of this message | ||
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");
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 ?