JDatabase::getErrorMsg
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
JDatabase::getErrorMsg[edit]
Description[edit]
Gets the error message from the database connection.
Template: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
See also[edit]
- JDatabase::getErrorMsg source code on BitBucket
- Class JDatabase
- Subpackage Database
- Other versions of JDatabase::getErrorMsg
Template:SeeAlso:JDatabase::getErrorMsg [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />