(PHP3 >= 3.0.7, PHP4 )
aspell_check -- Check a word
Description
boolean aspell_check
(int dictionary_link, string word)
Aspell_check() checks the spelling of a word
and returns true if the spelling is correct, false if not.
Példa 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 |
|