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

{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}

注明:本文为星速云原创版权所有,禁止转载,一经发现将追究版权责任!

(0)
上一篇 2022年8月9日 上午9:06
下一篇 2022年8月9日 上午9:06

相关推荐

发表评论

登录后才能评论
问答社区 QQ客服
微信客服
微信客服
分享本页
返回顶部