title: I want to add record to DB after "mysqli_error"
body: <pre><code>        $response[ 'error' ] = 1;
          $response[ 'message' ] = "ErrorDB";
          $response[ 'message_log' ] = "DBError:" . mysqli_error( $this-&gt;connection-&gt;getDb() );
          $this-&gt;errM-&gt;LogError($response['message_log']);
  </code></pre>
  
  <p>I want to log the error in another DB, but that seems to fail only after the line where "mysqli_error"</p>