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

Georg Ringer dameista at gmx.at
Sat Jun 11 11:56:42 CEST 2005


Hello Franz,
many thanks for your answers and efforts but unfortunately I am a quite
newbie with writing extensions, with php and mysql.
It would be very great if you could give me a working example how to get a
value from another table.

My structure:
TABLE tx_rgzitate_zitat (
    zitat text NOT NULL,
    autorz int(11) unsigned DEFAULT '0' NOT NULL, => Database relation to
tx_rgzitate_autor.autor
)
TABLE tx_rgzitate_autor (
    uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
    autor tinytext NOT NULL,
)

Many thanks again
georg






More information about the TYPO3-dev mailing list