Click here to Skip to main content
15,913,685 members

Comments by marwa_e (Top 5 by date)

marwa_e 26-Apr-13 9:24am View    
thank you for your help i just found the problem is about a conflation about 64-bit and 32-bit :)
it looks like it only work on 32-bit wamp server (php) and i was using a 64-bit :)
marwa_e 26-Apr-13 6:52am View    
yes i did but i still have the same error :(
marwa_e 25-Apr-13 15:32pm View    
ok then in my case i will write :-
The $dbName = $_SERVER["DOCUMENT_ROOT"] . "\\Database1.accdb";
right?
when i do this :( i get a new error :-
PDOException: SQLSTATE[IM002] SQLDriverConnect: 0 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in C:\wamp\www\odbc_test.php on line 6

my code in the odbc_test.php file :-
marwa_e 25-Apr-13 11:20am View    
i uncommented the line extension=php_pdo_odbc.dll in php.ini
but i dont get this line in the code
$dbName = $_SERVER["DOCUMENT_ROOT"] . "products\\products.mdb";
i am a beginner in php ^^
marwa_e 25-Apr-13 11:17am View    
Deleted
i uncommented the line extension=php_pdo_odbc.dll in php.ini
but i dont get this line in the code
$dbName = $_SERVER["DOCUMENT_ROOT"] . "products\\products.mdb";
i am a beginner in php ^^