[Typo3] Getting value from different table by value from another table
Jaroslaw Gilewski (YaGi)
jgilewski at yagi.com.pl
Sat May 28 10:38:11 CEST 2005
> my_fk_key = TEXT
> my_fk_key.data = DB : foreign_tablename:234:fieldname
>
> 234 is the ID of the desired record. Or do you want to add this ID
> dynamically?
Yes, i do.
I would like to get a record but id of this record is from some filed of
the current record (for example come special field in plugin table)
The TS is "executet" in context of the current record of some table from
my plugin. In the current record is the field 'nationality' wich is the
ID to the record i 'nationalities' table. I would like to get 'name'
field value from 'nationalites' for given foreign ID.
Regards
Jarek
More information about the TYPO3-english
mailing list