説明
boolean aspell_check
(int dictionary_link, string word);
aspell_check() は単語のスペルをチェックし、
スペルが正しい場合には TRUE 、そうでない場合は FALSE を返します。
例 1. aspell_check 1
2 $aspell_link=aspell_new("english");
3 if (aspell_check($aspell_link,"testt")) {
4 echo "This is a valid spelling";
5 } else {
6 echo "Sorry, wrong spelling";
7 }
8 |
|