[Typo3-dev] Newbie:Getting value from another table

Georg Ringer dameista at gmx.at
Thu Jun 9 08:51:16 CEST 2005


Hi,

I'm writing my first extension which has got 2 tables
rg_quotation: author (relation to rg_author), text
rg_author: name, description

I get values with $this->getFieldContent("author") or
$this->internal["currentRow"]["author"].

But because of the database relation I just get the uid of the author. =>
How do I get access to his name?

And another newbie question:  How would I get all quotations of a category
(another table with a relation in rg_quotation).

many many thanks
georg






More information about the TYPO3-dev mailing list