0
我試圖從我的兩個鏈接表輸出一些數據,並看看我能找到的所有例子,但我仍然沒有得到任何結果。 (注:我試過在任何一個表exec_SELECTquery和它的工作就像一個魅力)TYPO3毫米 - 查詢給我沒有輸出和沒有錯誤
因此,這裏是我的代碼
$GLOBALS['TYPO3_DB']->debugOutput = true;
$res = $GLOBALS['TYPO3_DB']->exec_SELECT_mm_query(
'tx_pagecat_category.title', // $select_fields
'tx_pagecat_category', // $local_table
'pages_tx_pagecat_category_mm', // $mm_table
'pages', // $foreign_table
'', //$where_clause
'', // $groupBy
'', // $orderBy
'' // $limit
);
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$c= $row['tx_pagecat_category.title'].chr(10);
}
return $this->pi_wrapInBaseClass($c);
我完全不知道我在做什麼錯,即使是調試產出不管用?