Commit 0615d890 authored by screeper's avatar screeper

Update readme.md

parent 816d3117
...@@ -49,8 +49,10 @@ if($id) ...@@ -49,8 +49,10 @@ if($id)
$data = Array ( $data = Array (
'firstName' => 'Bobby', 'firstName' => 'Bobby',
'lastName' => 'Tables', 'lastName' => 'Tables',
'editCount' => $db->inc(2) 'editCount' => $db->inc(2),
// editCount = editCount + 2; // editCount = editCount + 2;
'editBoolean' => $db->not()
// editBoolean = !editBoolean;
); );
$db->where('id', 1); $db->where('id', 1);
if($db->update('users', $data)) echo 'successfully updated'; 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