Home > PHP > Function > Pspell > pspell_add_to_personal()

pspell_add_to_personal()

pspell_add_to_personal - Add the word to a personal wordlist

Syntax

bool pspell_add_to_personal (int $dictionary_link, string $word)

Arguments

  • dictionary_link
  • word - The added word.

Description

pspell_add_to_personal() adds a word to the personal wordlist. If you used pspell_new_config() with pspell_config_personal() to open the dictionary, you can save the wordlist later with pspell_save_wordlist().

Version

PHP 4.0.2, 5

Return value

Returns TRUE on success or FALSE on failure.