ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:recordset:fields

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:recordset:fields [2017/04/21 11:50]
127.0.0.1 external edit
v5:reference:recordset:fields [2018/06/11 10:16] (current)
dregad [Usage] function names starting with lowercase (#426)
Line 13: Line 13:
  * DB Connection assumed  * DB Connection assumed
  */  */
-$result = $db->Execute("​SELECT * FROM ACT"​);​ +$result = $db->execute("​SELECT * FROM ACT"​);​ 
-$r = $result->​FetchRow();+$r = $result->​fetchRow();
 print $r->​fields(1);​ print $r->​fields(1);​
 /* /*
v5/reference/recordset/fields.txt · Last modified: 2018/06/11 10:16 by dregad