[TYPO3] exec_UPDATEquery problems

Joerg Schoppet joerg at schoppet.de
Thu Jul 6 08:54:16 CEST 2006


Hi,

Peter Poulsen wrote:
> Hi
> 
> I'm trying to make this call:
> <code>
> $GLOBALS["TYPO3_DB"]->exec_UPDATEquery('fe_users', $coordinatorFields, '
> AND uid = '. $uid);
> </code>
> 

Look at the function description of exec_UPDATEquery() in 
class.t3lib_db.php. You just have the wrong parameter order:
<code>
$GLOBALS['TYPO3_DB']->exec_UPDATEquery(
	'fe_users',
	' AND uid = ' . $uid,
	$coordinatorFields
);
</code>

Joerg



More information about the TYPO3-english mailing list