API17

JDatabaseMySQL::getAffectedRows: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Get the number of affected rows for the previous executed SQL statement.  
Get the number of affected rows for the previous executed SQL statement.  


{{subst:Description:JDatabaseMySQL::getAffectedRows}}
 


<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:JDatabaseMySQL::getAffectedRows|Other versions of JDatabaseMySQL::getAffectedRows]]
* [[API17:JDatabaseMySQL::getAffectedRows|Other versions of JDatabaseMySQL::getAffectedRows]]
{{subst:SeeAlso:JDatabaseMySQL::getAffectedRows}}
 


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

Latest revision as of 02:38, 25 March 2017

Joomla 11.1 JDatabaseMySQL::getAffectedRows

Description

Get the number of affected rows for the previous executed SQL statement.


public function getAffectedRows ()
  • Returns integer The number of affected rows.
  • Defined on line 173 of libraries/joomla/database/database/mysql.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples