[TYPO3] connect to data base

Graham Solomon graham.solomon at powys.gov.uk
Fri Aug 4 16:09:41 CEST 2006


Documentation for the "t3lib_db" class:
http://typo3.org/typo3conf/ext/extdeveval/apidocs/t3lib_db.html


Regards,
Graham

Markus Stauffiger wrote:

> Hi there
> 
> You could use the "t3lib_db" class:
> 
> $con = $GLOBALS['TYPO3_DB']->sql_query($query);
> 
> Have a look at t3lib/class.t3lib_db.php for more information, there are
> some convenient functions for the db.
> 
> Greets
> Markus
> 
> Miguel Angel Calleja Lázaro schrieb:
>> Hi list, in Typo3 3.8 when I wanted to connect to data base  i had to do:
>> $query="Select ......";
>> $con=mysql(TYPO3_db,$query);
>> 
>> In Typo3 4.0 it follows equal?? or has it changed?
>>




More information about the TYPO3-english mailing list