Changeset 81 for trunk


Ignore:
Timestamp:
Feb 10, 2009, 3:32:59 PM (16 years ago)
Author:
maron
Message:

Posunutí anglického textu v levo, zpravení chyby opakování

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/comparison.php

    r80 r81  
    2121                                $find = false;
    2222                                for($j = 0;$j<count($ArrStr2);$j++) {
    23                                   if ($ArrStr1[$i] == $ArrStr2[$j]) {
     23                                  if (($ArrStr1[$i] == $ArrStr2[$j]) and ($find == false)) {
    2424                                        echo $ArrStr1[$i].' ';
    2525                                        $find = true;
     
    5050        } else $WhereID = '';
    5151
    52   $DataID = $Database->SQLCommand('SELECT * FROM '.$Table.' Where entry = '.$Textentry.$WhereID);
     52  $DataID = $Database->SQLCommand('SELECT * FROM '.$Table.' Where entry = '.$Textentry.$WhereID.' ORDER BY Language');
    5353  $i = 0;
    5454  while($Line = mysql_fetch_assoc($DataID)) {
Note: See TracChangeset for help on using the changeset viewer.