[TYPO3-dev] pi_exec_query with addWhere returns only one element, what is wrong?

Matthias Stuebner news at stuebner.de
Mon Nov 27 20:17:11 CET 2006


On Mon, 27 Nov 2006 18:33:22 +0100, Steffen Kamper wrote:

> Hi - why don't you use a normal query ?
>  $res=$GLOBALS['TYPO3_DB']->exec_SELECTquery($select_fields,$from_table,$where_clause,$groupBy='',$orderBy='',$limit='');

As Christopher said, when you dig into the source you will see that
pi_exec_query does exactly that. To use given wrapper might always be a
good idea to be compatible.
-- 
br Matthias




More information about the TYPO3-dev mailing list