error with sql_db class

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello everybody, I am having a problem while I am trying to use the
db.php file , i used this code :

          require 'db.php';
          $db = DB::connect('mysql://root:@localhost/mapdb');

but i got an error that says that the sql_db class not existent.
any help please

thanx in advance
shameram sadaki

Re: error with sql_db class

Are you sure that you can access the connect() method statically?
Please copy'n'paste the exact error message.

Site Timeline