[前台调用]查询指定单页的内容 2019-07-15阅读:2495 <?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_tags(htmlspecialchars_decode($data["content"])),200)?>