[TYPO3] exec_UPDATEquery problems

Joerg Schoppet joerg at schoppet.de
Thu Jul 6 09:27:21 CEST 2006


Jochen Rieger wrote:
> But as mentioned there should be another more comfy way of getting the 
> query... maybe someone else knows more about it!? :)

Yes, there is a more comfort way:
<code>
	$GLOBALS['TYPO3_DB']->store_lastBuiltQuery = TRUE;
	$GLOBALS['TYPO3_DB']->exec_UPDATEquery( 'xxx', 'yyy', 'zzz');
	echo ($GLOBALS['TYPO3_DB']->debug_lastBuiltQuery);
</code>

Joerg



More information about the TYPO3-english mailing list