$sql="SELECT * FROM `j_contents` WHERE `type` = 'post' AND `title` like '%$keyword%'";
或
$sql="SELECT * FROM j_contents WHERE type = 'post' AND title like '%$keyword%'";
转载于:https://www.cnblogs.com/xiaoliu520/p/5111222.html
$sql="SELECT * FROM `j_contents` WHERE `type` = 'post' AND `title` like '%$keyword%'";
或
$sql="SELECT * FROM j_contents WHERE type = 'post' AND title like '%$keyword%'";
转载于:https://www.cnblogs.com/xiaoliu520/p/5111222.html