<?
require_once('class.dicttranslator.php');
$tlumacz = new DictTranslator();
$tlumaczenie = $tlumacz->translate('validation');
echo '<table border=0>';
echo '<tr>';
echo '<td width="50%"><b>polish words</b></td>';
echo '<td width="50%"><b>english words</b></td>';
echo '</tr>'
foreach($tlumaczenie as $polish=>$english) {
echo '<tr>';
echo '<td width="50%">'.$polish.'</td>';
echo '<td width="50%">'.$english.'</td>';
echo '</tr>'
}
echo '</table>';
?>
|