diff options
author | Saketh1499 | 2022-02-15 18:32:07 +0530 |
---|---|---|
committer | GitHub | 2022-02-15 18:32:07 +0530 |
commit | f5322a02a199cd4c9296a496424575ce7e5aa7e4 (patch) | |
tree | 64a7dca8aa5596a70b65d92f6b46991409e90e67 | |
parent | 58876c85f58b99a39284bc4acae154476a0abd47 (diff) | |
parent | 7e8b89df3bc1c05871b7bfb000c7964f55ad0c8b (diff) | |
download | om_pssp-f5322a02a199cd4c9296a496424575ce7e5aa7e4.tar.gz om_pssp-f5322a02a199cd4c9296a496424575ce7e5aa7e4.tar.bz2 om_pssp-f5322a02a199cd4c9296a496424575ce7e5aa7e4.zip |
Merge pull request #19 from Saketh1499/development
Arranging serial number in descending order
-rwxr-xr-x | pssp_details.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pssp_details.inc b/pssp_details.inc index 7cffb85..e469cc2 100755 --- a/pssp_details.inc +++ b/pssp_details.inc @@ -18,7 +18,7 @@ function om_pssp_completed_proposals_all() { $output .= "Work has been completed for the following Power System Simulations. We welcome your contributions." . "<hr>"; $preference_rows = array(); - $i = 1; + $i = $result->rowCount(); while ($row = $result->fetchObject()) { $proposal_id = $row->id; @@ -36,7 +36,7 @@ function om_pssp_completed_proposals_all() $row->university, $completion_date ); - $i++; + $i--; } //$row = $result->fetchObject() $preference_header = array( 'No', |