PHP code example of steffenmaechtel / exception_handling_for_typo3_db

1. Go to this page and download the library: Download steffenmaechtel/exception_handling_for_typo3_db library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

steffenmaechtel / exception_handling_for_typo3_db example snippets

$GLOBALS['TYPO3_DB']->sql_query('SELECT not_existing_field FROM pages');