i'm loading variables from an external txt file into arrays -
one for course titles and one date array for each title - which
then get loaded into comboboxes. the text file looks like
&c0=Please choose a course...
&c1=Assertiveness at Work
&c1d0=Select a date...
&c1d1=14 July 2006
&c1d2=15 September 2006
&c1d3=30 November 2006
&c2d0=Select a date...
&c2d1=17 May 2006
The code is below. i need to find a way to loop through the
date arrays so don't have add a new one for each course - can
A couple of comments upfront:
Why do you set up your loop variable "i" so nicely, but then
use "I" as index for the arrays?
Did you ever think about using XML? Your data structure is
crying out loudly for it!