Explorar o código

去掉 group by 里面的id

visuddhinanda %!s(int64=4) %!d(string=hai) anos
pai
achega
16befff03c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/search/title_search.php

+ 1 - 1
app/search/title_search.php

@@ -128,7 +128,7 @@ switch ($op) {
                 }
                 echo "</div>";
             }
-            $query = "SELECT title from "._TABLE_RES_INDEX_." where (title_en like " . $PDO->quote("%" . $searching . '%') . " OR title like " . $PDO->quote("%" . $searching . '%') . ") group by id , title limit 20";
+            $query = "SELECT title from "._TABLE_RES_INDEX_." where (title_en like " . $PDO->quote("%" . $searching . '%') . " OR title like " . $PDO->quote("%" . $searching . '%') . ") group by title limit 20";
             $Fetch = PDO_FetchAll($query);
             $queryTime = (microtime_float() - $time_start) * 1000;
             $iFetch = count($Fetch);