TYPO3

t3lib_db::exec_SELECTcountRows()

New method in t3lib_db allows easy execution of count SQL statement. For example:

$countPages = $GLOBALS[‘TYPO3_DB’]->exec_SELECTcountRows(‘*’, ‘pages’, ‘deleted = 0’);

More info:
RFC: Feature Request #10091: Integrate TYPO3_DB->exec_SELECTcountRows()
http://bugs.typo3.org/view.php?id=10091

1 response

  1. Hi Dan,

    thanks for your “New in 4.3” series! This is a nice overview of little features, that are very useful…

    Bye,

    Fabrizio

Leave a note

Your email address will not be published. Required fields are marked *