I have a tbl ClassTitles. It has two fields: one is a custom ID the other is a className. I use the ID to properly sort the classes in order in which they need to be taken(this order is used later for certification requirments and many other quaries). However, I need to create a form where the user can add a new class and position it correctly among the other classNames. E.g.
ID | Class
1 | drawing level I
2 | drawing level II
3 | drawing technique
Now let's say they offer a new class Drawing level III. The user has to add it via a form so it gets written into the table as:
3 | Drawing level III
... and automatically push all the other classes below that, so now "drawing technique" would have index 4, etc..
thanks for any suggestions on how to tackle this
ID | Class
1 | drawing level I
2 | drawing level II
3 | drawing technique
Now let's say they offer a new class Drawing level III. The user has to add it via a form so it gets written into the table as:
3 | Drawing level III
... and automatically push all the other classes below that, so now "drawing technique" would have index 4, etc..
thanks for any suggestions on how to tackle this