[Typo3] class.t3lib_db.php and CONCAT

media.res | alex widschwendter a.widschwendter at mediares.at
Tue Apr 5 15:11:21 CEST 2005


hi,

> But I had another idea: What about replacing $val with CONCAT($key,',$val')
> in the array that contains the fields and values to be updated?

i don't think this works and is a good idea, because the mysql concat 
function must spell the same in other dbs!

what adodb concat do, is to transform the sql for concat the way it 
works in the selected database driver. but there are lots of other nice 
features adodb has, which are not support by the TYPO3 dbal at the 
moment (prepare, replace, ...)

alex



More information about the TYPO3-english mailing list