Pārlūkot izejas kodu

按照paragraph升序

visuddhinanda 4 gadi atpakaļ
vecāks
revīzija
1923151978
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      public/app/studio/pc_get_book_index.php

+ 1 - 1
public/app/studio/pc_get_book_index.php

@@ -12,7 +12,7 @@ echo "<index>";
 
 //open database
 PDO_Connect(_FILE_DB_PALITEXT_);
-$query = "SELECT * FROM "._TABLE_PALI_TEXT_." where book = ? ";
+$query = "SELECT * FROM "._TABLE_PALI_TEXT_." where book = ? order by paragraph ASC";
 
 $Fetch = PDO_FetchAll($query,array($currBook));
 $iFetch = count($Fetch);