when i use pear::DB with sqlserver ,i found error message
| From: | amorn lerwattanakittavorn | Date: | Wed, 26 Feb 2003 12:45:58 +0000 |
| Subject: | when i use pear::DB with sqlserver ,i found error message | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-348@lists.php.net to get a copy of this message | ||
when i use pear::DB,i found error message
DB Error: no such database
this's my source code
// Data Source Name: This is the universal connection string
$dsn = "mssql://$user:$pass@$host:1433/$db_name";
// DB::connect will return a PEAR DB object on success// or an PEAR DB Error object on error
$db = DB::connect($dsn, true);
how can i correct?
Best regards
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail