[Typo3] For my comprehension only...

Kraft Bernhard kraftb at kraftb.at
Fri Apr 8 20:48:18 CEST 2005


Pierre Rouwens wrote:
> Hi list,
> 
> I just wanna know why when i use 
> $GLOBALS['TYPO3_DB']->exec_SELECTquery($select,$from,$where); it works 
> and when i use
> t3lib_DB::exec_SELECTquery($select,$from,$where); it doesn't work ... 
> aren't these two ways for the same result ?

Look if t3lib_db.php uses $this-> somewhere ... this can't get used when the :: operator is used.


greets,
Bernhard



More information about the TYPO3-english mailing list