I am Getting this error when connect with tally with php
Connection failed: SQLSTATE[IM002] SQLDriverConnect: 0 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
My connection code is:-
try {
$shift_db = new PDO("odbc:TallyODBC64_9000");
}
catch(PDOException $e){
echo "Connection failed: " . $e->getMessage();
}