JDatabase::getErrorMsg
Gets the error message from the database connection.
Signature
public function getErrorMsg([boolean
$escaped = false] )
Parameters
-
$escaped
- True to escape the message string for use in JavaScript.
Returns
- string
- The error message for the most recent query.