i use ADOdb to connect from to the database. the code is like this
include("adodb.inc.php");
$db = NewADOConnection('mysql');
$db->Connect("localhost", "root", " ", "system");
$result = $db->Execute("CREATE TABLE `lecturer` (`lec_id` INT (10) NOT NULL, 'lec_name' VARCHAR(255),'lec_password' INT(15),
'subject_code' VARCHAR(10), `trimester_id` INT (3), PRIMARY KEY(`lec_id`)) ");
if ($result === false) die("failed");
i hav include al lthe require adodb file but when i run it i get the error of
ADONewConnection: Unable to load database driver
Fatal error: Call to a member function on a non-object in c:\program files\apache group\apache\htdocs\table.php on line 4
i cannot figure out what cause the problem. can anyone help me with this?