[quote]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? [/quote] what the hell are u talking about? u say my way uses static images? getting info from file fields the last time i can recall isnt "static", joes example used "static" images why dont u actually look at my code and u will see exactly why it wouldnt crash if the image count was less then the available fields. im no pro but please know what the hell ur talking about before u call someone "amateur-ish" (i learned that the hard way lol) joe is a great coder who i respect but we were talking about 2 completely diffent parts of the process ---------- Original Message ---------------------------------- From: Scott Stroz <[EMAIL PROTECTED]> Reply-To: cf-talk@houseoffusion.com Date: Wed, 12 Jan 2005 08:38:21 -0500 >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:190146 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54