Commit 3b9445d6 by doszhang

dos

parent eb5f3d76
......@@ -22,8 +22,7 @@ class IndexController extends Controller
session_start();
$_SESSION['joinTime'] = time();
$num = M('num')->where('id=1')->select();
print_r($num);die();
$num = $num['num'];
$num = $num[0]['num'];
$this->assign('num',$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