Browse Source

Merge pull request #697 from visuddhinanda/laravel

调试临时代码
visuddhinanda 4 years ago
parent
commit
5b5f4be6f9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      public/app/dict/dict_lookup.php

+ 2 - 1
public/app/dict/dict_lookup.php

@@ -113,7 +113,8 @@ $right_word_list = "";
 
 				
                 $query = "SELECT dict.id,dict.dict_id,dict.mean,info.shortname from " . _TABLE_DICT_REF_ . " LEFT JOIN "._TABLE_DICT_REF_NAME_." as info ON dict.dict_id = info.id where word = ? limit 30";
-                $Fetch = PDO_FetchAll($query, array($x));
+                echo "<div>{$query}</div>";
+				$Fetch = PDO_FetchAll($query, array($x));
                 $iFetch = count($Fetch);
                 $count_return += $iFetch;
                 if ($iFetch > 0) {