13 lines
165 B
PHP
13 lines
165 B
PHP
<?php
|
|
$table = $conn->getTable("User");
|
|
|
|
|
|
$user = $table->find(2);
|
|
|
|
if($user !== false) {
|
|
$user->name = "Jack Daniels";
|
|
|
|
$user->save();
|
|
}
|
|
?>
|