• Seite weiterempfehlen
  • Kontakt
  • Druckansicht
PHP
$select_fields = '*';
$from_table = '';
$where_clause = '';
$groupBy = '';
$orderBy = '';
$limit = '';
 
$result = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(
	  $select_fields
	, $from_table
	, $where_clause . $this->cObj->enableFields($from_table)
	, $groupBy
	, $orderBy
	, $limit
);
 
//debug(array('fields' => $select_fields
//	, 'from' => $from_table
//	, 'where' => $where_clause
//	, 'enable' => $this->cObj->enableFields($from_table)
//	, 'group' => $groupBy
//	, 'order' => $orderBy
//	, 'limit' => $limit
//	, 'result' => $result
//	), 'SELECT', __LINE__, __FILE__);
// immidiate processing for each record:
 
foreach ((array)$sammel as $record) {
	//$record['uid']
}