DEDECMS织梦系统的会员调用方法详细介绍


{dede:sql sql='select * from dede_member where mtype="企业" order by mid limit 0,12'} 
<a href=http://www.dede58.com/a/member/index.php?uid=[field:userid/] target='_blank'>[field:uname/]</a> 
{/dede:sql} 


调用12个个人会员 按 注册时间排序 

 

代码如下:


{dede:sql sql='select * from dede_member where mtype="个人" order by mid limit 0,12'} 
<a href=http://www.dede58.com/a/member/index.php?uid=[field:userid/] target='_blank'>[field:uname/]</a> 
{/dede:sql} 

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/6d8dabbe996c6c9ba2c304412a6e3023.html