ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:activerecord:save

This is an old revision of the document!


save

Syntax
bool save()

Description

To insert a new record into the database, change an object's properties and then call the save() method.

Usage

$person = new person();
$person->name_first = 'Andi';
$person->name_last  = 'Gutmans';
$person->save();
v5/activerecord/save.1449277506.txt.gz · Last modified: 2017/04/21 11:21 (external edit)