[Typo3-dev] Help with extension (TCA?)

media.res | alex widschwendter a.widschwendter at mediares.at
Mon Mar 21 18:01:35 CET 2005


hi joshua,

> That's not good, I was trying to stay DBAL compliant...  I guess I'll 
> have to come up with some other way of sorting the results...  I'm using 
> my own "inList" style function...

select the your ids (to, cc, bcc) merge them together, set an $idList.

now look if uid of user is in $idList

$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 
'your_table','userId_field IN 
('.$idList.')'.$this->cObj->enableFields('your_table'));

but that has nothing to do with TYPO3 ....

alex




More information about the TYPO3-dev mailing list