King James Bible
King James Version (KJV)


"And pl. Asherim in Revised Version, instead of "grove" and" groves of the Authorized Version. This was the name of a "sensual Canaanitish goddess Astarte, the feminine of the" Assyrian Ishtar. Its symbol was the stem of a tree deprived of "its boughs, and rudely shaped into an image, and planted in the" "ground. Such religious symbols ("groves") are frequently alluded" to in Scripture (Ex. 34:13; Judg. 6:25; 2 Kings 23:6; 1 Kings "16:33, etc.). These images were also sometimes made of silver or" "of carved stone (2 Kings 21:7; "the graven image of Asherah," R.V.). (See [32]GROVE [1].). See where $keyword occurs in the Bible...
// start of matching to Hitchcock's Bible Dictionary
$query= "select * from hitchcockdictionary where term like '".$keyword."' ORDER BY term ASC";
$query_results=mysqli_query($dbb,$query);
$match_resultz=mysqli_num_rows($query_results);
if ($match_resultz > 0)
{
echo " Definition of ".$keyword.":
";
for ($i=0; $i < $match_resultz; $i++)
{
$row=mysqli_fetch_array($query_results);
$termurl = ($row ['term']);
$termurl=preg_replace('/\s+/', '-',$termurl);
echo "\"".($row['definition'])."\"
";
} // end of for
} // end of if
// end of Hitchcock
// start of related matches
echo "
";
$words = $keyword;
$filters = "";
$words = explode(" ",$keyword);
/*
for($i=0;$words[$i] != "";$i++)
{ $filters .= "term like '%".$words[$i]."%'";
if($words[$i+1] != "")
$filters .= " OR ";
else break; }
*/
for($i=0;$words[$i] != "";$i++)
{
$length = strlen($words[$i]);
//echo $length;
if($length <= 3) continue;
//echo "WORD: '".$words[$i]."' - end of word
";
//WHERE keywords REGEXP '[[:<:]]rid[[:>:]]'
$filters .= "term REGEXP '[[:<:]]".$words[$i]."[[:>:]]'";
//$filters .= "term like '%".$words[$i]."%'";
if($words[$i+1] != "")
$filters .= " OR ";
else
break;
}
$query="SELECT * FROM `dictionary` WHERE ".$filters;
$result = mysqli_query($dbb,$query);
if ($result) {
$match_results=mysqli_num_rows($result);
} else {
$match_results = 0;
}
mysqli_close($dbb);
if($match_results > 1)
{echo "Related Bible Dictionary Terms:
";}
for ($i = 0; $i < $match_results && $i < 20; $i++) // sets max results
{
$relatedterms = mysqli_fetch_array($result);
if($keyword == $relatedterms["term"])
continue;
$trent = $relatedterms["term"];
$trent = preg_replace('/\s+/', '-', $relatedterms);
echo "",($relatedterms ['term'] ), " ";
}
echo "
";
// end of related matches
?>