note 43730 deleted from function.mysql-connect by tomsommer
| From: | tomsommer@php.net | Date: | Thu, 01 Jul 2004 15:18:55 +0000 |
| Subject: | note 43730 deleted from function.mysql-connect by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72264@lists.php.net to get a copy of this message | ||
Note Submitter: francois@bonzon.com
----
If you set default values, for example in an .htaccess file with the code below, then you don't
even need to call mysql_connect() at all. PHP will do it automatically as it receives its first
MySQL query.
php_value mysql.default_host localhost
php_value mysql.default_user alice
php_value mysql.default_password secret