[TYPO3-english] TS for title tags works inconsistently

François Suter fsu-lists at cobweb.ch
Mon Nov 28 14:42:19 CET 2011


> andWhere.data = {GP:tx_wecstaffdirectory_pi1|curstaff}
> andWhere.wrap = uid='|'

It should, but with a correct syntax ;-) If you use "data", you don't 
use curly braces. Try:

andWhere.data = GP:tx_wecstaffdirectory_pi1|curstaff
andWhere.wrap = uid='|'

and *please* add

andWhere.intval = 1

to protect your query against SQL injection.



Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch

More information about the TYPO3-english mailing list