error with sql_db class

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chsadaki@hotmail.com

    error with sql_db class

    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('my sql://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

  • milahu

    #2
    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.

    Comment

    Working...