浏览代码

调试临时代码

visuddhinanda 4 年之前
父节点
当前提交
71f5832cc1
共有 1 个文件被更改,包括 2 次插入1 次删除
  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";
                 $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);
                 $iFetch = count($Fetch);
                 $count_return += $iFetch;
                 $count_return += $iFetch;
                 if ($iFetch > 0) {
                 if ($iFetch > 0) {