MEANING AND DEFINITION:



[insert_php]

$b=$_SERVER[‘REQUEST_URI’];
$idpart=substr($b,8);
$len=strlen($idpart);
$len=$len-1;
$phraseid=substr($idpart,0,$len);

//echo “$phraseid”;

global $wpdb;
$result1= $wpdb->get_results(“SELECT vocabulary.id,phrase,meaning,example,source,sources.name AS filmname FROM vocabulary JOIN sources ON vocabulary.source=sources.id WHERE vocabulary.id=$phraseid”);

foreach ($result1 as $item)
{

$film=$item->source;
$film=’film’.$film.’p.jpg’;

$filmlink=$item->filmname;
//$filmurl=pekneurl($filmlink);
$filmurl=’phrases-and-quotes-from-‘.$filmurl;

echo “

“;

echo “

“;
echo “$item->phrase“;
echo “ = $item->meaning“;
echo “

“;

// —— Nahodna fraza ————

$result2= $wpdb->get_results(“SELECT id FROM vocabulary”);
$nr = $wpdb->num_rows;

$randph=rand(1,$nr);

$pu=’../’.$randph;

echo “

“;

// ———————————-

echo “

EXAMPLE:
$item->example

“;

echo “

“;

echo “

Source:“;
echo ““;
echo “

“;

}

echo “

“;

[/insert_php]

Collocations | Idioms | Phrasal verbs | Words and slang terms