ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:activerecord:load

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
activerecord:load [2015/12/05 18:16] mnewnhamv5:activerecord:load [2018/09/22 15:43] (current) mnewnham
Line 2: Line 2:
 ~~NOTOC~~ ~~NOTOC~~
 <WRAP right box> <WRAP right box>
-  bool load()+== See Also == 
 +[[v5:reference:connection:execute]] 
 +== Syntax == 
 +  bool load( 
 +     optional string $where='', 
 +     optional mixed[] $bindVariables = false 
 +     )
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-Loads a record from the database. If an error occurs it returns false, otherwise true+Loads a record from the database. If an error occurs, or no records are found it returns false, otherwise true
 +------------------------------
 ===== Usage ===== ===== Usage =====
 <code php> <code php>
v5/activerecord/load.1449335768.txt.gz · Last modified: 2017/04/21 11:21 (external edit)