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
Last revisionBoth sides next revision
activerecord:load [2015/12/05 18:16] mnewnhamv5:activerecord:load [2018/09/22 15:42] – [Description] 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, 
 +     optional bool $lock=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.txt · Last modified: 2018/09/22 15:43 by mnewnham