Thanks Ahmad. Do I put this code on the User Input page or the page that displays the information? I have three separate user input fields, Hours, Minutes, Seconds. The user inputs at least a zero in each field as the minimum. After they submit the fields to the database, it will then display a table with what they just submitted.
I need the Hours, Minutes, Seconds to be in the same format and sorted in the table that is displayed. In my situation, it would not make sense to leave it as total seconds being displayed.
What I have is called a results page. Runners will enter in the time they got for running a 5k race. Let’s say they ran 31:20, 31 minutes and 20 seconds. This person wants to see it displayed as 31:20 on the table and it should be sorted correctly based on other times. Let’s say the same person ran 30:33 the first time and 31:20 the second time. It should be sorted as 30:33 to be at top and 31:20 as next and so forth.
Does that make sense?
Thanks for your time and help.