diff options
author | Saketh1499 | 2022-02-14 12:26:05 +0530 |
---|---|---|
committer | Saketh1499 | 2022-02-14 12:26:05 +0530 |
commit | b56513f2d480880b0bb0d101adcab9f6e11d9648 (patch) | |
tree | 2033e5c062811328d9dd748b16d38c11747ace2c /custom_model_details.inc | |
parent | 242d1512278a390330b5d417bc0248fcb1f9d5cc (diff) | |
download | dwsim_custom_model-b56513f2d480880b0bb0d101adcab9f6e11d9648.tar.gz dwsim_custom_model-b56513f2d480880b0bb0d101adcab9f6e11d9648.tar.bz2 dwsim_custom_model-b56513f2d480880b0bb0d101adcab9f6e11d9648.zip |
Arranging serial number in descending order
Diffstat (limited to 'custom_model_details.inc')
-rwxr-xr-x | custom_model_details.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/custom_model_details.inc b/custom_model_details.inc index 592a8b3..903eec8 100755 --- a/custom_model_details.inc +++ b/custom_model_details.inc @@ -19,7 +19,7 @@ function custom_model_completed_proposals_all() { $output .= "Work has been completed for the following custom model. We welcome your contributions." . "<hr>"; $preference_rows = array(); - $i = 1; + $i = $result->rowCount(); while ($row = $result->fetchObject()) { $proposal_id = $row->id; @@ -31,7 +31,7 @@ function custom_model_completed_proposals_all() $row->university, $completion_date ); - $i++; + $i--; } //$row = $result->fetchObject() $preference_header = array( 'No', |