I figured it out.

On Wed, 15 Sep 2004 10:25:07 -0500, Phill B <[EMAIL PROTECTED]> wrote:
> I'm trying to put some picture info into a variable that will be easy
> for the designers to use.
>
> I have to query a database to get specific images. I then tweak the
> results and want to put them into a variable similar to this.
>
> FeaturesOptions.image1.fileLocation = http://www.asdf.com/asdf.jpg
> FeaturesOptions.image1.fileTitle = cool picture
> FeaturesOptions.image1.fileDescription = this is a description of the
> cool picture
> FeaturesOptions.image2.fileLocation = http://www.asdf.com/cvbxb.jpg
> FeaturesOptions.image2.fileTitle = cool picture 2
> FeaturesOptions.image2.fileDescription = this is another description
> of a cool picture
>
> Once they are like this the designer can loop through the variables to
> output what they need.
>
> I've tried to do this using a structure but I can't seem to make it
> work. I am looping over the results of a query and trying to
> dynamically name the structure that I'm putting values into and no
> matter what I do it won't work.
>
> Any suggestion? I can give some code if it will help.
>
> --
> Phillip B.
>

--
Phillip B.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to