ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:affected_rows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
v5:reference:connection:affected_rows [2017/04/21 11:50]
127.0.0.1 external edit
v5:reference:connection:affected_rows [2018/06/11 10:17] (current)
dregad [Usage] function names starting with lowercase (#426)
Line 14: Line 14:
  * connection assumed  * connection assumed
  */  */
-$db->Execute('​DELETE FROM act WHERE actno = 20');+$db->execute('​DELETE FROM act WHERE actno = 20');
  
 print $db->​affected_rows();​ print $db->​affected_rows();​
Line 21: Line 21:
  */  */
  
-$db->Execute('​SELECT FROM act');+$db->execute('​SELECT FROM act');
 print $db->​affected_rows();​ print $db->​affected_rows();​
 /* /*
v5/reference/connection/affected_rows.txt · Last modified: 2018/06/11 10:17 by dregad