微学网

热门关键词:   as  thinkphp  ecshop  xxx  商务通  www.ymwears.cn
热门: ASP.NET PHP编程 ASP编程 JSP编程 Python

dedecms会员中心常用信息解释【附带实例讲解】

发布时间:2021-04-23 来源:未知 点击:
 
<span style="font-size:14px;"><span style="font-family:tahoma,geneva,sans-serif;">echo $cfg_ml->M_UserName;
    echo "";
    echo $cfg_ml->M_ID;
    echo "";
    echo $cfg_ml->M_MbType;
    echo "";
    echo $cfg_ml->M_Money;
    echo "";
    echo $cfg_ml->M_Scores;
    echo "";
    echo $cfg_ml->M_UserName;
    echo "";
    echo $cfg_ml->M_Rank;
    echo "";
    echo $cfg_ml->M_Face;
    echo "";
    echo $cfg_ml->M_LoginTime;
    echo "";
    echo $cfg_ml->M_KeepTime;
    echo "";
    echo $cfg_ml->M_Spacesta;
    echo "";
    echo $cfg_ml->M_Honor;
    echo "";
    echo $cfg_ml->fields['sex'];
    echo "";
    echo $cfg_ml->fields['email'];
    echo "";
    echo $cfg_ml->fields['honor'];
    echo "";
    echo $cfg_ml->fields['matt'];</span></span>


打印print_r($cfg_ml) 查看数组

  
 <span style="font-size:14px;"><span style="font-family:tahoma,geneva,sans-serif;">adminMemberLogin Object    
    (    
       [M_ID] => 1    
       [M_LoginID] => admin    
       [M_MbType] => 个人    
       [M_Money] => 0    
       [M_Scores] => 10000    
       [M_UserName] => admin    
       [M_Rank] => 100    
       [M_Face] =>    
       [M_LoginTime] => 1393946471    
       [M_KeepTime] => 604800    
       [M_Spacesta] => 0    
       [fields] => Array    
           (    
               [mid] => 1    
               [mtype] => 个人    
               [userid] => admin    
               [pwd] => 21232f297a57a5a743894a0e4a801fc3    
               [uname] => admin    
               [sex] => 男    
               [rank] => 100    
               [uptime] => 0    
               [exptime] => 0    
               [money] => 0    
               [email] =>    
               [scores] => 10000    
               [matt] => 10    
               [spacesta] => 0    
               [face] =>    
               [safequestion] => 0    
               [safeanswer] =>    
               [jointime] => 1376494666    
               [joinip] =>    
               [logintime] => 1393946471    
               [loginip] => 127.0.0.1    
               [checkmail] => -1    
               [honor] => 上校    
           )    
       [isAdmin] => 1    
       [M_UpTime] => 0    
       [M_ExpTime] => 0    
       [M_HasDay] =>    
       [M_JoinTime] => 2013-08-14    
       [M_Honor] => 上校    
       [memberCache] => memberlogin    
    )</span></span>

仅供大家参考学习。

这就是微学网-程序员之家为你提供的"dedecms会员中心常用信息解释【附带实例讲解】"希望对你有所帮助.本文来自网络,转载请注明出处:http://www.weixuecn.cn/article/14266.html
网络编程 | 前端制作 | 数据库 | CMS教程 | 脚本编程 | 框架 | 服务器 | 微信开发 | APP开发 | 学习教程 |

凡本网站转载的文章、图片等资料的版权归版权所有人所有,因无法和版权所有者一一联系,如果本网站选取的文/图威胁到您的权益,请您及时和本网站联系。 我们会在第一时间内采取措施,避免给双方造 成不必要的损失。
© 2015-2021 微学网 版权所有,并保留所有权利。 备案号:粤ICP备09051474号-1

菜鸟学习网,提供各类程序编程入门,技巧