11 lines
143 B
PHP
11 lines
143 B
PHP
|
<?php
|
||
|
$record = new User();
|
||
|
|
||
|
$record->exists(); // false
|
||
|
|
||
|
$record->name = 'someone';
|
||
|
$record->save();
|
||
|
|
||
|
$record->exists(); // true
|
||
|
?>
|