API17

JDatabase::getErrorNum: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Gets the error number from the database connection.  
Gets the error number from the database connection.  


{{subst:Description:JDatabase::getErrorNum}}
 


<source lang="php">
<source lang="php">
Line 17: Line 17:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[API17:JDatabase::getErrorNum|Other versions of JDatabase::getErrorNum]]
* [[API17:JDatabase::getErrorNum|Other versions of JDatabase::getErrorNum]]
{{subst:SeeAlso:JDatabase::getErrorNum}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabase::getErrorNum
category=JDatabase::getErrorNum
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:33, 25 March 2017

Joomla 11.1 JDatabase::getErrorNum

Description

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


User contributed notes

Code Examples