1.数据库关键字查询
$sql = $sql ." where title like ‘%$keyword%‘ or content like ‘%$keyword%‘ or author like ‘%$keyword%‘
or email like ‘%$keyword%‘ or ip like ‘%$keyword%‘";
基础不牢固!
花了一整天整这段对查询结果进行分页!!!
------------------------------------------------------------------------------------------------------
不值得!!!
原文:https://www.cnblogs.com/mawenqi-barry/p/9185479.html