Hi!!Guys.Are you well?
Now,I’m person in nedd.
Therfore,help me,please...
$keyword = mb_convert_kana($search_word, 's'); // 全角スペースを半角スペースに変換
$keyword = preg_replace('/\s+/', ' ', $keyword);//連続する半角スペースを1つの半角スペースへ
$split_ary_keyword = explode(" ",$keyword);
foreach ($split_ary_keyword as $word) {
$d_products = D_products::find(array(
"text_search LIKE :keyword:",
"bind"=>array(
'keyword'=> '%' . $word . '%'
)
));
}
I want to convert to the same result is obtained with the OR search of SQL.