diff options
author | Sashi20 | 2023-08-22 14:38:45 +0530 |
---|---|---|
committer | GitHub | 2023-08-22 14:38:45 +0530 |
commit | ea0472145b848b8535095f31ab975c0cb1ad0c87 (patch) | |
tree | cbf05b366510e08a3e2f42c920c486b398701056 /pssp_details.inc | |
parent | f5322a02a199cd4c9296a496424575ce7e5aa7e4 (diff) | |
download | om_pssp-ea0472145b848b8535095f31ab975c0cb1ad0c87.tar.gz om_pssp-ea0472145b848b8535095f31ab975c0cb1ad0c87.tar.bz2 om_pssp-ea0472145b848b8535095f31ab975c0cb1ad0c87.zip |
Arrange in progress table in descending order
Diffstat (limited to 'pssp_details.inc')
-rwxr-xr-x | pssp_details.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pssp_details.inc b/pssp_details.inc index e469cc2..2fc72a4 100755 --- a/pssp_details.inc +++ b/pssp_details.inc @@ -69,7 +69,7 @@ function om_pssp_progress_all() { $page_content .= "Work is in progress for the following Power System Simulation under Power System Simulation Project<hr>"; $preference_rows = array(); - $i = 1; + $i = $result->rowCount(); while ($row = $result->fetchObject()) { $approval_date = date("Y", $row->approval_date); @@ -80,7 +80,7 @@ function om_pssp_progress_all() $row->university, $approval_date ); - $i++; + $i--; } //$row = $result->fetchObject() $preference_header = array( 'No', @@ -95,4 +95,4 @@ function om_pssp_progress_all() )); } return $page_content; -}
\ No newline at end of file +} |