I’m new to ASP so just starting out with a few basic scripting. I’m trying to script a guessing game in Javascript which user guesses a number between 0-100 it counts number of guesses made. Because I’ve made the javascript game to run in a form after they’ve guessed the right number it processes the form to store_score.asp which collects thier name and number of guesses. Data is collected and stored in a variable there’s a link to view score list and to go back to game.htm. Now View_score.asp will process the variable which the name and number of guesses is stored. What I’m stuck on is processing this variable array of ppl’s name and score into a table with name and score from lowest number of guesses being on top row and highest number of guess at the bottom.
I’ve found some clues here:
[color=#003366]www.minwar.com/learn/ASP/General/Arrays3.asp[/color][url=“http://www.codefixer.com/tutorials/multidimensional_arrays.asp”]
but in that example arrays have to be defined to go in which column/row. I need it to be organised dynamically into tables plus sort it in ascending order.
Is what I’m saying even possible? Thanks In advance to helpers…