[TYPO3-core] RFC: MM_foreign_select

Ingmar Schlecht ingmar at typo3.org
Wed Mar 8 16:30:03 CET 2006


Martin Kutschker wrote:
>>> + foreach($tableArr as $foreignTable) {
>>> + $whereArr[] =
>>> 'tablenames='.$GLOBALS['TYPO3_DB']->fullQuoteStr($foreignTable,
>>> $tableName);
>>> + }
>>> + $where.= ' AND ( '.implode(' OR ', $whereArr).' ) ';
>> Why do you not use 'WHERE tablenames IN ('table1', 'table2', ...
>> 'tablen')' ?
> 
> 
> Don't use fullQuoteStr on anything else than values!

I think the code above is about values.

cheers,
Ingmar



More information about the TYPO3-team-core mailing list