[TYPO3] connecting to a foreign database
PEF
xx at xx.xx
Thu Dec 20 13:46:24 CET 2007
Hi,
I'm working on an extension where I have to get some data from a MSSQL
database. For that purpose I've created a class much similar to the DB
class used by Typo3.
What I would like to do is to:
- define a variable $GLOBAL['MSSQL_DB'] to hold my connection to the
database
- include my mssql-class, so that I can use it in the same way, that I
use the $GLOBAL['TYPO3_DB'] - like $GLOBAL['MSSQL_DB']->exec_SELECTquery
I'm very much in doubt what will be the right way to do it.
Any qualified suggestions?
Regards
Peter Falk
More information about the TYPO3-english
mailing list