Posted on: 3/31/2012 11:43:39 AM | Views : 348

Hi,
I have been working on an application that is meant to generate a menu with 25 links (steps) and a progress value.
After clicking on a step, the user can input data into some fields and this data is inserted into a table that relates it to the respective step.
They can then logout and log back in and update  the data under any of the steps they have filled by clicking on the respective step.
In the database table I have 7 fields one of which is a progress field that allows an integer value from a form field on the UI.
The problem is that I must generate the 25 step menu when the page loads and assign the relevant progress value to the relevant step.
At present my code is only generating a step for the amount of rows in the table, not for 25 steps. e.g
Step 1 - Progress 30
Step 2 - Progress 0
Step 3 - Progress 0
It should create a 25 step menu e.g

Step 1 - Progress 30
Step 2 - Progress ...

Go to the complete details ...