Hey,
Ok just wanted to know if the following was possible and if so, how I would go about doing this.
Ok, I'm setting up a content management system for our company and we want to add orders to it. Now, we want to offer the ability to add more than 1 product to the order, possibly 10 for one order.
Now, instead of having the following fields.
fld_prod_1, fld_prod_2, fld_prod_2...fld_prod_10 etc
And they all have the individual product id numbers, could I not just create one field called fld_products and be able to enter product id numbers seperated by commas.
So it would look like this:
1, 10, 5, 6 etc
Now, we need to be able to view these orders and it needs to output the name of the product, price etc, so we need to have a while statement that repeats the code for gathering product data. How do I then seperate the data in one field?
Any ideas? Hope I made sense...
Cheers,
Chris