279 :ひろゆき :2005/10/21(金) 16:09:32 ID:Fs8oOmTk ?###
function p_h_com_find_all_search_c_commu4c_commu_categoryをいじる。
function p_h_com_find_all_search_c_commu4c_commu_categoryをいじる。
/** sennaに置き換え
//alter table c_commu add fulltext commu_ft(search_word, name, info); for($i=0;$i < count($search_word_list);$i++){ $search_word = check_search_word( $search_word_list[$i] ); $where .= " and( c_commu.search_word like '%".$search_word."%' "; $where .= " or c_commu.name like '%".$search_word."%' "; $where .= " or c_commu.info like '%".$search_word."%') "; } // $where .= " and search_word like '%$search_word%'"; */ $search_word = check_search_word( $search_word); $where .= "and match(c_commu.search_word, c_commu.name, c_commu.info) against ('$search_word')";
添付ファイル