Location: PHPKode > scripts > Define Word > define-word/SingleWordInText.php
<?php
include_once("DefineWord.class.php");
$wordToDefine = "masquerade";
//$wordToDefine = "cell";
  $myDict = new DefineWord($wordToDefine,"dict.org",1);
  $definition = $myDict->definitionsArray[0];
echo '<html><body>';
echo "If you ever <t>wandered</t> what in hell <a href='#' title='$definition' >$wordToDefine</a> is <br> Now you know !";
echo '</body></html>';
?>



Return current item: Define Word