这是我的 sql 查询。我需要使用搜索来搜索名字和姓氏。
$result = 'SELECT * FROM resume
WHERE (first_name LIKE "'.$sKeyword.'%" OR
last_name LIKE "'.$sKeyword.'%" OR
CONCAT(first_name," ",last_name) like "'.$sKeyword.'%" OR
email LIKE "'.$sKeyword.'%" OR
phone LIKE "'.$sKeyword.'%" OR
zip_code LIKE "'.$sKeyword.'%" OR
find_us LIKE "'.$sKeyword.'%" )';