Created
June 15, 2016 13:51
-
-
Save rcerrejon/a4b80a61b37aa90aeb848a45b36100ee to your computer and use it in GitHub Desktop.
Query Standard Way in Extbase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Connect to the Database by TYPO3_DB */ | |
/** @var DatabaseConnection $db */ | |
$db = $GLOBALS['TYPO3_DB']; | |
//Execute Query | |
$result = $db->exec_SELECTgetRows('SELECT * FROM tx_test_tabelle'); | |
//Get Results | |
return $result; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment