/ Published in: PHP
You can get the last query by using the following code.
Insert the first line before the query and TYPO3 will store each query.
You can get the last query with the second line.
Insert the first line before the query and TYPO3 will store each query.
You can get the last query with the second line.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$GLOBALS['TYPO3_DB']->store_lastBuiltQuery = 1; echo $GLOBALS['TYPO3_DB']->debug_lastBuiltQuery;