Commit 2af901c4 by doszhang

dos

parent d7994abe
...@@ -20,8 +20,8 @@ class IndexController extends Controller ...@@ -20,8 +20,8 @@ class IndexController extends Controller
public function index() public function index()
{ {
M('join_num')->where('id=1')->setInc('num'); M('join_num')->where('id=1')->setInc('num');
$joinNum = M('join_num')->where('id=1')->find('num'); $joinNum = M('join_num')->where('id=1')->select();
var_dump($joinNum); var_dump($joinNum['num']);
// $this->display(); // $this->display();
} }
} }
\ No newline at end of file
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 sign in to comment