API17:JDatabase::getErrorMsg
From Joomla! Documentation
JDatabase::getErrorMsg
Description
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

See also
JDatabase::getErrorMsg source code on BitBucket
Class JDatabase
Subpackage Database- Other versions of JDatabase::getErrorMsg
User contributed notes
Code Examples