Commit 1fc98ea4 by doszhang

dos

parent 9acd00ca
...@@ -21,7 +21,7 @@ class IndexController extends Controller ...@@ -21,7 +21,7 @@ class IndexController extends Controller
{ {
M('join_num')->where('id=1')->setInc('num'); M('join_num')->where('id=1')->setInc('num');
$joinNum = M('join_num')->where('id=1')->find(); $joinNum = M('join_num')->where('id=1')->find();
$this->assign('join_num',$joinNum); $this->assign('join_num',$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