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