首页 > 运营 > 帮助中心 > 正文

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

2020-01-27 17:31:04
字体:
来源:转载
供稿:网友
  1. {dede:channel type='son' }
  2. [field:id runphp='yes']
  3. global $dsql;
  4. $sql='Select content from arctype where [email protected]';
  5. $row=$dsql->getone();
  6. ......
  7. .....
  8. [/field:id]
  9. {/dede:channel}
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表