API17

API17:JDatabase::stderr

From Joomla! Documentation

Joomla 11.1 JDatabase::stderr

Description

Return the most recent error message for the database connector.


public function stderr ($showSQL=false)
Parameter Type Default Description
$showSQL bool false True to display the SQL statement sent to the database as well as the error.
  • Returns string The error message for the most recent query.
  • Defined on line 1477 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples