Browse Source

按照paragraph升序

visuddhinanda 4 years ago
parent
commit
1923151978
1 changed files with 1 additions and 1 deletions
  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);