[Typo3] Getting value from different table by value from another table

Sacha Vorbeck sachav at gmx.net
Thu May 26 02:07:40 CEST 2005


Hi,

> my_fk_key = TEXT
> my_fk_key.field = my_fk_key

> Next what I want is to get the value of some filed from this foreign 
> table. How can I do this?

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?

See 
http://typo3.org/documentation/document-library/doc_core_tsref/Datatype_reference/
(getText) for more info.

-- 
Ciao,
Sacha



More information about the TYPO3-english mailing list