note 50396 added to function.msql-connect
| From: | sloshman9 at aol dot com | Date: | Sun, 27 Feb 2005 02:06:10 +0000 |
| Subject: | note 50396 added to function.msql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85618@lists.php.net to get a copy of this message | ||
Here is a simple mysql connect code used to connect to a mysql database
<?php
mysql_connect("host","db_username","db_password");
mysql_select_db("mysql_database");
?>
I hope this has helped you on your quest.
----
Manual Page -- http://www.php.net/manual/en/function.msql-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50396
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50396&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50396&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50396&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50396&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50396&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50396&report=yes
Search -- http://master.php.net/manage/user-notes.php