API17

JDatabase::getErrorNum: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
m preparing for archive only
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
=={{JVer|11.1}} JDatabase::getErrorNum==
=={{JVer|11.1}} JDatabase::getErrorNum==
===Description===
===Description===
Get the error number.  
Gets the error number from the database connection.  
 
 


{{Description:JDatabase::getErrorNum}}
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JDatabase::getErrorNum|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Synopsis===
<source lang="php">
<source lang="php">
public JDatabase->getErrorNum ()
public function getErrorNum ()
</source>
</source>
===Returns===
* '''Returns''' integer The error number for the most recent query.
int The error number for the most recent query
* '''Defined''' on line 1420 of libraries/joomla/database/database.php
===Defined in===
* '''Since''' {{JVer|11.1 }}
libraries/joomla/database/database.php
===Referenced by===
===See also===
===See also===
<span class="editsection" style="font-size:76%;">
* {{JVer|11.1}} '''JDatabase::getErrorNum source code''' on [[jplatform:database/database.php#cl-1412|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JDatabase::getErrorNum|Edit See Also]]<nowiki>]</nowiki>
* {{JVer|11.1}} Class [[API17:JDatabase|JDatabase]]
</span>
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[JDatabase/11.1|JDatabase]]
* [[API17:JDatabase::getErrorNum|Other versions of JDatabase::getErrorNum]]
* [[JDatabase::getErrorNum|Other versions of this method]]
 
{{SeeAlso:JDatabase::getErrorNum}}
 
===Examples===
===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=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDatabase]][[Category:JDatabase::getErrorNum]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

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