<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

如何在DEDECMS模板中使用php语句

时间:2020-12-15

在DEDECMS模板中要使用PHP的话,可以按照下面的格式进行:

{dede:php runphp='yes'}
global $dsql;
$query = "select * from client ";
$dsql->Execute('a', $query);
$row = $dsql->GetArray('a');
@me=$row ->group1;//显示出group1的值
{/dede:php}

要作何种判断根据具体情况。因为标记内编程是不能使用echo之类的语句的,只能把所有返回值传递给@me,然后就可以显示了。
0
首页
案例
关于
联系