[前台调用]查询指定单页的内容DYCMS
<?php
$sql="select content from about where id=1";
$result=$conn->query($sql);
if($result->num_rows>0){
$data=$result->fetch_assoc();
}
?>
<?php echo utf_substr(strip_...
<?php
$sql="select content from about where id=1";
$result=$conn->query($sql);
if($result->num_rows>0){
$data=$result->fetch_assoc();
$sql="select content from about where id=1";
$result=$conn->query($sql);
if($result->num_rows>0){
$data=$result->fetch_assoc();
}
?>
上一篇:[前台调用]查询单页列表
下一篇:[插件]仿QQ商城幻灯代码
我要评论