I have to agree with Joe. The first method suggested seems kind of amateur-ish. If there will not always be 3 images, then this method is definitley NOT the 'right' way'.
Why create a dynamic application the uses static values like this? On Wed, 12 Jan 2005 08:18:16 -0500, Joe Rinehart <[EMAIL PROTECTED]> wrote: > > well then u copy and paste & change the #'s > > accordingly to accomidate how ever many images u want. > > and say that u have 5 images but that clothes line only > > has 3 pic then it will accept the 3 and ignore the other > > 2 empty fields > > That's just not a very good approach, and the point of this thread was > to do things the "right" way. Arrays and structures exists so that > you don't have to do things like this, and there's no sense using a > relational database in the nonrelational manner this method > encourages. > > It's a lot cooler to be able to say "I can change the number of images > you can add by changing a configuration file" than to have to say "I > have to change code for that." In a lot of development shops, your > method wouldn't fly at all, and would be quickly replaced. > > -Joe > -- Scott Stroz Boyzoid.com ___________________________ Some days you are the dog, Some days you are the tree. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190077 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54