Difference between revisions of "JDatabase::getErrorMsg"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JDatabase::getErrorMsg/11.1 to API17:JDatabase::getErrorMsg without leaving a redirect: Robot: Moved page)

Revision as of 14:37, 10 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JDatabase::getErrorMsg


Gets the error message from the database connection.

Description:JDatabase::getErrorMsg [Edit Descripton]

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

SeeAlso:JDatabase::getErrorMsg [Edit See Also]

User contributed notes

<CodeExamplesForm />