Commit 926c6160 by doszhang

dos

parent 2af901c4
......@@ -20,7 +20,7 @@ class IndexController extends Controller
public function index()
{
M('join_num')->where('id=1')->setInc('num');
$joinNum = M('join_num')->where('id=1')->select();
$joinNum = M('join_num')->where('id=1')->find();
var_dump($joinNum['num']);
// $this->display();
}
......
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