[TYPO3-german] Core API DBAL

Karsten Dambekalns karsten at typo3.org
Sun Jan 1 16:32:20 CET 2006


Hi.

Anska Beckert wrote:
> Also quasi das Typo3-Pendant zu
> 
> $query = 'select * from $Z where uid = '.$Y;
> $result = mysql(TYPO3_db,$query);
> $Feld =  mysql_result($result,0,$X);

pi_exec* und exec_* unterscheiden sich schon. Eine Möglichkeit ist
 $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*',$Z,'uid='.(int)$Y);
 $row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);

> Weiterhin wäre ich dankbar, wenn mir jemand sagen könnte wo es dazu die
> Dokumentation gibt (falls es die gibt ;-) ).

Doku? Ne, nur das bisschen auf typo3.org. SCNR.

Project Coding Guidelines
 http://typo3.org/documentation/document-library/doc_core_cgl/
TYPO3 Core APIs
 http://typo3.org/documentation/document-library/doc_core_api/
extdeveval Extension (contains documentation and more)
 http://typo3.org/documentation/document-library/extdeveval 
DBAL manual (chapter 1.5)
 http://typo3.org/documentation/document-library/dbal/

Gruß,
Karsten



More information about the TYPO3-german mailing list