Commit 15e2a465 by doszhang

dos

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