Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

aspell_check

(PHP 3>= 3.0.7, PHP 4 <= 4.2.3)

aspell_check -- Check a word [deprecated]

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.

Eksempel 1. aspell_check()

<?php

$aspell_link
= aspell_new("english");

if (
aspell_check($aspell_link, "testt")) {
    echo
"This is a valid spelling";
} else {
    echo
"Sorry, wrong spelling";
}

?>

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP Manualen". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.