[TYPO3-dev] Stupid Stupid Stupid

Stefan Beylen typo3 at we-make.net
Tue Jun 24 09:47:38 CEST 2008


Fr. Simon Rundell SCP wrote:
>         $newdata=$TYPO3_DB->exec_SELECTquery('*', $data["database"],
> 'uid='.$data["drpRecordSelect"], '', '', '');

why not use:
$GLOBALS['TYPO3_DB']->exec_SELECTquery('*', $data["database"], 
'uid='.$data["drpRecordSelect"], '', '', '');




More information about the TYPO3-dev mailing list