注册 | 登录 |
地方论坛门户及新闻和人才网址大全

织梦dedecms channel标签中使用php和sql

时间:2021-07-21人气:-


{dede:channel type='son' }
[field:id runphp='yes']
global $dsql;
$sql='Select content from arctype where id=@me';
$row=$dsql->getone();
......
.....
[/field:id]
{/dede:channel}

上篇:织梦dedeCMS模板标签同时使用2个函数的办法

下篇:织梦dedecms手机站绑定二级域名教程