" . $keyword[$i]; // } // } // // 方法②: foreach を使う // foreach ($keyword as $word) { // if ($word === '沼') { // echo "
" . $word; // } // }