Hi guys,
when i am trying to load data from MS-Access data base, i am getting error saying
Fatal error: Cannot redeclare class DBDataWrapper in D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\code\db_common.php on line 791 .

php code is given below:

<?php require_once("code/codebase/grid_connector.php"); require("code/db_pdo.php"); echo 'Loaded'; try{ $res=new PDO("odbc:Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\\mydb.mdb;Uid=Admin","",""); echo 'Connected to database '; $grid = new GridConnector($res,"PDO"); $grid->enable_log("temp.log",true); } catch(PDOException $e){ echo $e->getMessage(); } ?>

i am loading this php from my grid html page using the command mygrid.Load(myconnector.php).

please help me to sort out this problem

Why you are loading those files from different location?
Expected code is