JDatabase::getErrorMsg/11.1

From Joomla! Documentation

Jump to: navigation, search

Joomla 11.1 JDatabase::getErrorMsg

Description

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


Personal tools