$string=$_POST['string'];
$mysql="select * from admin_manager_artice where a_content,a_title link '%".$string."%' limit $offset,$pagesize";这句查询语句是哪出错了哦?不对。请问要怎么改
$mysql="select * from admin_manager_artice where a_content,a_title link '%".$string."%' limit $offset,$pagesize";这句查询语句是哪出错了哦?不对。请问要怎么改
$mysql="select * from admin_manager_artice where a_content,a_title like '%".$string."%' limit $offset,$pagesize";
<?php
$mysql="select * from admin_manager_artice where a_content like '%".$string."%' and a_title like '%".$string."%' limit $offset,$pagesize";
?>