[TYPO3] Accessing DB from FE

Ivan Gomez Rodriguez igomez at igalia.com
Wed Oct 31 11:06:13 CET 2007


We recently discover following tslib_cobj functions. It seems the better
way to access database but we don't know if they are used by everybody
or they are deprecated.

function DBgetDelete($table, $uid, $doExec=FALSE)
function DBgetUpdate($table, $uid, $dataArr, $fieldList, $doExec=FALSE)
function DBgetInsert($table, $pid, $dataArr, $fieldList, $doExec=FALSE)

function exec_getQuery($table, $conf)
function getQuery($table, $conf, $returnQueryArray=FALSE)

In adding, we don't know the correct way to use exec_getQuery,
especially in use of $conf array.

Could somebody tell me if this functions are really the better way and
how use them correctly?

Thank in advance,

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


More information about the TYPO3-english mailing list