Moin,

meinst du sowas:

#$GLOBALS['TYPO3_DB']->debugOutput = true;
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
        '*',
        'tt_content',
        'pid=1);
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
        $test[] = $row['uid'];
}


Siehe auch: http://typo3.org/fileadmin/typo3api-4.0.0/
Dort in "Class list" den Eintrag "t3lib_DB" auswählen:

exec_SELECTquery ($select_fields, $from_table, $where_clause, 
$groupBy='', $orderBy='', $limit='')


Grüße
Oliver


> Kennt jemand von Euch eine php Vorlage im Web das die wichtigsten 
> konfigurationen enthält um eine Typo3 Datenbank abzufragen ?
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an