API17

JDatabaseMySQL::getAffectedRows: Difference between revisions

From Joomla! Documentation

m →See also: moving preparation
m clean up
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.  


{{Description:JDatabaseMySQL::getAffectedRows}}
{{subst:Description:JDatabaseMySQL::getAffectedRows}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabaseMySQL::getAffectedRows|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function getAffectedRows ()
public function getAffectedRows ()
Line 19: 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]]
{{SeeAlso:JDatabaseMySQL::getAffectedRows}}
{{subst:SeeAlso:JDatabaseMySQL::getAffectedRows}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabaseMySQL::getAffectedRows|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 15:03, 24 March 2017

Joomla 11.1 JDatabaseMySQL::getAffectedRows

Description

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

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

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

{{subst:SeeAlso:JDatabaseMySQL::getAffectedRows}}

User contributed notes

<CodeExamplesForm />