DB.php
| From: | Monte Ohrt | Date: | Mon, 16 Apr 2001 18:52:21 +0000 |
| Subject: | DB.php | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-61@lists.php.net to get a copy of this message | ||
Hi,
I'm trying out DB.php. It seems that when I try to connect to a mysql
database, it doesn't work unless I require the msyql.php file explicitly
like so:
require_once("DB.php");
require_once("DB/mysql.php); // <-- should I need this line?
Otherwise it bombs when trying to create a non-existing class DB_mysql.
Am I doing this right, or is there something I'm missing? Are there
any complete usage examples anywhere?
Thanks
Monte