From b01ad1d9123ab8f497ce78fcab0c5caebc0cc993 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Tue, 20 Mar 2018 12:08:43 -0400 Subject: * Allow sorting by bible book and by key --- page.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'page.php') diff --git a/page.php b/page.php index d710b28..94d0317 100644 --- a/page.php +++ b/page.php @@ -8,7 +8,7 @@ /** * @brief Go through the file inputfile.txt and return each song with a link to it. */ -function toc(){ +function toc( $sort ){ $handle = fopen("inputfile.txt", "r"); $entries = array(); $number = 0; @@ -42,6 +42,15 @@ function toc(){ } $toc = '
'; $toc .= '