Okay, Let me break this down a little. Here is what the form elements would look like after the categories were looped over (with just the category and the price fields):
<input type="checkbox" name="category[0]" value="1" checked>Compact Disc <input size="6" type="text" name="price[0]" value="3.95"><br> <input type="checkbox" name="category[1]" value="2" checked>DVD-ROM <input size="6" type="text" name="price[1]" value="9.95"><br> <input type="checkbox" name="category[2]" value="3">Audio Cassette <input size="6" type="text" name="price[2]" value=""> <br> <input type="checkbox" name="category[3]" value="4">Video Tape <input size="6" type="text" name="price[3]" value=""><br> How could I take this and make it a structure that I could pass to a component that would loop through the results and enter each record into the database? -Aaron On 2/2/06, Aaron Roberson <[EMAIL PROTECTED]> wrote: > List, > > What I am attempting to do is display all available categories for a > given product on an update page. The available category's fields, > which include Title, Price, Special, Special Price, would be displayed > in an editable input box. Then the values for each field, for each > category, would be used to populate a structure that would be looped > over again to be inserted into the database. > > How can I implement this conceptualization? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231221 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

