[TYPO3-german] eigene extension: tt_news-datensatz-abfrage / tt_news_cat_mm

Markus Thaler most.wanted at gmx.at
Mon Oct 20 16:27:01 CEST 2008


bin der lösung einen riesen schritt näher gekommen - das hier 
funktioniert erstmal:

--- code ---
$res = $GLOBALS['TYPO3_DB']->exec_SELECT_mm_query(
	'tt_news.uid,tt_news.title,tt_news.datetime,tt_news.short',
	'tt_news',
	'tt_news_cat_mm',
	'tt_news_cat',
	'',
	'',
	'',
	'tt_news.datetime',
	''
);
--- /code ---

wenn ich allerdings eine where-clause einfüge bekomm ich allerdings eine 
fehlermeldung:

--- code ---
$res = $GLOBALS['TYPO3_DB']->exec_SELECT_mm_query(
	'tt_news.uid,tt_news.title,tt_news.datetime,tt_news.short',
	'tt_news',
	'tt_news_cat_mm',
	'tt_news_cat',
	'tt_news_cat.uid=8',
	'',
	'',
	'tt_news.datetime',
	''
);
--- /code ---

--- fehlermeldung ---
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL 
result resource in /typo3_src-4.1.6/t3lib/class.t3lib_db.php on line 796

Warning: Cannot modify header information - headers already sent by 
(output started at /typo3_src-4.1.6/t3lib/class.t3lib_db.php:796) in 
/typo3_src-4.1.6/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2952

Warning: Cannot modify header information - headers already sent by 
(output started at /typo3_src-4.1.6/t3lib/class.t3lib_db.php:796) in 
/typo3_src-4.1.6/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2965
--- /fehlermeldung ---

weiss jemand, wie ich hier eine where clause einfügen kann? danke.


More information about the TYPO3-german mailing list