Thread: Insert issue?
View Single Post
  #6 (permalink)  
Old June 15th, 2005, 01:41 PM
Imar's Avatar
Imar Imar is online now
Wrox Author
Points: 33,563, Level: 80
Points: 33,563, Level: 80 Points: 33,563, Level: 80 Points: 33,563, Level: 80
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,231
Thanks: 7
Thanked 203 Times in 201 Posts
Default

Ah, OK, I see now. I thought you posted the code because you were still having problems with it. Glad it's working.
The problem with the ugly code is partially DW's fault. I creates generally very safe code (in terms of failure, not security), which results in quite bloated code.

Writing a loop isn't so hard and writing code that fires inside the loop isn't either. What is hard to understand is your Freezer, Tower and Box stuff. Again, can you please describe in more detail what it is you want. Is location a drop-down on your page? What way can you select multiple items of what kind? How does your table structure look like? What INSERT statement do you want to loop exactly?

Providing these details with your initial question makes it *much* more easier for me to answer these questions, rather than trying to guess what Freezer I should loop to fit in in the location of the Tower....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote