(PHP 3>= 3.0.7, PHP 4 >= 4.0b1)
aspell_check -- Check a word
Description
bool 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.
Example 1. aspell_check()
$aspell_link=aspell_new ("english");
if (aspell_check ($aspell_link, "testt")) {
echo "This is a valid spelling";
} else {
echo "Sorry, wrong spelling";
}
|
|