Location: PHPKode > scripts > Define Word > define-word/example.php
<?php
include_once("DefineWord.class.php");


$myDict = new DefineWord("egg");
$myDict->print_def_array(); 
echo "<hr>";

$myDict = new DefineWord("egg","dict.org",3,"(Biol)");
$myDict->print_def_array();
echo "<hr>";

$myDict = new DefineWord("stay","dict.org",5);
$myDict->print_def_array();
echo "<hr>";

$myDict = new DefineWord("stay","dict.org",3,"(Naut)");
$myDict->print_def_array();



?>


Return current item: Define Word