note 25213 modified in function.mysql-select-db by betz
| From: | betz@php.net | Date: | Sat, 14 Sep 2002 16:32:52 +0000 |
| Subject: | note 25213 modified in function.mysql-select-db by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-36683@lists.php.net to get a copy of this message | ||
<?PHP
mysql_connect("your host", "username", "password") or
die(mysql_error());
mysql_select_db("your database") or die(mysql_error());
?>
--was--
here's one in english:
<?PHP
mysql_connect("your host", "username", "password") or
die(mysql_error());
mysql_select_db("your database") or die(mysql_error());
?>
http://www.php.net/manual/en/function.mysql-select-db.php