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

Rainer Kuhn kuhn at punkt.de
Mon Mar 21 14:10:32 CET 2005


Joshua Preston wrote:
> I've tried adding to the SELECT statement, but the problem is that 
> smaller number can fit into bigger ones (ie 2 is in 12 and 22 and 2000).

Hi Joshua,

I didn't get the exact problem!? Do you use comma seperated string lists? 
Using FIND_IN_SET('2', $yourStringDatabaseField) you can get a single 
numeric element from a comma seperated list (see e.g. 
http://dev.mysql.com/doc/mysql/en/string-functions.html)


Rainer




More information about the TYPO3-dev mailing list