note 34087 deleted from function.msql-connect by betz
| From: | betz@php.net | Date: | Wed, 16 Jul 2003 06:17:20 +0000 |
| Subject: | note 34087 deleted from function.msql-connect by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52167@lists.php.net to get a copy of this message | ||
Note Submitter: Final Quest Games
----
Well. i use a Different way. And it works Perfect!
Check it out:
$dbh = mysql_connect ("localhost", "USER", "PASS") or die ('I
cannot connect to the database because: ' . mysql_error());
mysql_select_db ("DB NAME");