(PHP 3>= 3.0.7, PHP 4 )
aspell_check -- Überprüfe ein Wort
Beschreibung
boolean aspell_check
(int Wörterbuchkennung, string Wort)
Aspell_check() überprüft die Rechtschreibung
eines Wortes und liefert true, wenn das Wort korrekt ist,
ansonsten false.
Beispiel 1. aspell_check
$aspell_link=aspell_new ("english");
if (aspell_check ($aspell_link, "test")) {
echo "This is a valid spelling";
} else {
echo "Sorry, wrong spelling";
}
|
|