1
2 $aspell_link=aspell_new("english");
3
4 if (!aspell_check($aspell_link,"testt")) {
5 $suggestions=aspell_suggest($aspell_link,"testt");
6
7 for($i=0; $i < count($suggestions); $i++) {
8 echo "Possible spelling: " . $suggestions[$i] . "<br>";
9 }
10 }
11 |