[TYPO3] Accessing DB from FE

Ivan Gomez Rodriguez igomez at igalia.com
Wed Oct 31 12:23:20 CET 2007


Rudy Gnodde wrote:
> Rudy Gnodde wrote:
>> Hello Ivan,
>>
>> I mostly use the functions exec_SELECTgetRows, exec_SELECTquery, 
>> exec_DELETEquery, exec_UPDATEquery and exec_INSERTquery in the t3lib_db 
>> class. You can access them through the global TYPO3_DB variable 
>> ($GLOBALS['TYPO3_DB']->exec_...) and if you search for these functions 
>> in your favorite search engine you should be able to find a reference 
>> for them.
>>
>> Regards,
>>
>> Rudy Gnodde
>> WIND Internet
> 
> And while you're add it you might also want to look at the fullQuoteStr 
> function (also in t3lib_db) and enableFields (from cObj).
> 
> Regards,
> 
> Rudy Gnodde
> WIND Internet
> http://www.windinternet.nl
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 

Hello, we use them too, but we don't know if it's the better way. For
example, DBgetDelete works like BE core functions marking as deleted,
instead physically remove delete.

-- 
Iván Gómez Rodríguez (igomez at igalia.com)
Ingeniero en Informática


More information about the TYPO3-english mailing list