|
新人报到
昵称: |
Sean |
性别: |
男 |
生日: |
|
来自: |
广东 |
星座: |
- |
编程经验: |
2 年 |
掌握语言/技术: |
PHP/CAKEPHP/JS/AJAX |
毕业院校: |
|
QQ: |
- |
MSN: |
|
Gtalk: |
|
邮箱: |
|
个人主页: |
|
个人说明: |
- |
照片: |
- |
$session['isAdminUserLogin'] = $unArr;
$this->session->set_userdata($session);
上面是我设置的一个SESSION,把用户信息写进去,生成的数组是
Array( [0] => stdClass Object ( [id] => 1 [username] => admin [password] => 3d4f2bf07dc1be38b20cd6e46949a1071f9d0e3d [email] => [role_id] => 0 [status] => 0 [created] => 2012-01-12 02:06:54 [modified] => 2012-01-12 02:06:54 ))
如果我只想ECHO username,如何写?谢谢
|
|