Home  >  Article  >  Backend Development  >  dede:php标签有关问题

dede:php标签有关问题

WBOY
WBOYOriginal
2016-06-13 10:17:15851browse

dede:php标签问题
{dede:php}
$row = $dsql->GetOne("select id,typename from dede_arctype where id=22");
print_r($row);
{/dede:php}

我使用上面这句,怎么测试运行的时候,现在结果还是啥也没有呢,是哪里错了吗



------解决方案--------------------
确定dede_arctype这个表里id=22有数据吗?

如果有,那就吧错误提示打开,看看提示什么错误?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn