====== load ======
~~NOTOC~~
== See Also ==
[[v5:reference:connection:execute]]
== Syntax ==
bool load(
optional string $where='',
optional mixed[] $bindVariables = false
)
===== Description =====
Loads a record from the database. If an error occurs, or no records are found it returns false, otherwise true.
------------------------------
===== 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
}