[TYPO3-dev] exec_SELECTgetRows parameters

Rudy Gnodde rgn at windinternet.nl
Wed Jul 9 10:37:07 CEST 2008


Hello,

Fr. Simon Rundell SCP wrote:
> $res=$GLOBALS["TYPO3_DB"]->exec_SELECTgetRows("uid", "tx_table", "1=1", "uid
> DESC", 1);
exec_SELECTgetRows has the following parameters: whatToSelect, table, 
where, groupBy, orderBy, limit. You forgot the groupBy, so it's trying 
to group by "uid DESC" and order by "1" now.

Regards,

Rudy Gnodde
WIND Internet
http://www.windinternet.nl




More information about the TYPO3-dev mailing list