note 23640 added to function.mysql-connect
| From: | shabnet at yahoo dot com | Date: | Wed, 24 Jul 2002 07:47:25 +0000 |
| Subject: | note 23640 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33471@lists.php.net to get a copy of this message | ||
Please help me.
This script wont run. What's wrong?
<BODY>
<?php
$link = mysql_connect("localhost", "username", "password")
or die($php_errormsg);
print "Connected successfully";
mysql_select_db("database01") or die("Could not select datab
ase");
mysql_query("INSERT INTO info (name,address,email,phone_number,I
D) values ($name,$address,$email,$phone,NULL)");
echo"Hello ",$name," Thank you for loggin in.";
?>
</BODY>
</HTML>
--
http://www.php.net/manual/en/function.mysql-connect.php
http://master.php.net/manage/user-notes.php?action=edit+23640
http://master.php.net/manage/user-notes.php?action=delete+23640
http://master.php.net/manage/user-notes.php?action=reject+23640