API17

JDatabase::getErrorNum

From Joomla! Documentation

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.

Joomla 11.1 JDatabase::getErrorNum[edit]

Description[edit]

Gets the error number from the database connection.


public function getErrorNum ()
  • Returns integer The error number for the most recent query.
  • Defined on line 1420 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]