$query=SELECT * FROM DB WHERE MATCH (email, name, live)
AGAINST (:search IN BOOLEAN MODE) LIMIT :start, 20";
//:start is row count from previous query
$SQL=$db->prepare($query);
$SQL->bindValue(':search', '+'.$search.'*', PDO::PARAM_STR);
嗨,我是 PHP PDO 的新手,我有一个使用 PDO 的全文搜索查询
像这样绑定值是否正确,我把+和*放在里面bindValue();