From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDatabase::getErrorMsg[edit]


Gets the error message from the database connection.

public function getErrorMsg ($escaped=false)
Parameter Type Default Description
$escaped bool false True to escape the message string for use in JavaScript.
  • Returns string The error message for the most recent query.
  • Defined on line 1400 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also[edit]

User contributed notes[edit]

Code Examples[edit]