v5:activerecord:load
This is an old revision of the document!
load
bool load()
Description
Loads a record from the database
Usage
$person = new person(); $person->Load("id=1"); foreach($person->children as $c) { echo " $c->name_first "; $c->name_first .= ' K.'; $c->Save(); ## each child record must be saved individually }
v5/activerecord/load.1449277868.txt.gz · Last modified: 2017/04/21 11:21 (external edit)