Commit 0615d890 authored by screeper's avatar screeper

Update readme.md

parent 816d3117
......@@ -49,8 +49,10 @@ if($id)
$data = Array (
'firstName' => 'Bobby',
'lastName' => 'Tables',
'editCount' => $db->inc(2)
'editCount' => $db->inc(2),
// editCount = editCount + 2;
'editBoolean' => $db->not()
// editBoolean = !editBoolean;
);
$db->where('id', 1);
if($db->update('users', $data)) echo 'successfully updated';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment