I'm writing a PHP shopping cart. I have a number of items (sometimes as much as about 200) on a page and I want each item to have an "add to cart" button (or link or whatever). The user should also be able to specify a quantity before pressing the "add to cart" button, and sometimes other options too.
To me it seems that I want each item to have it's own form with a text box for quantity and the "add to cart" button being the submit button. What I want to know is if it's OK to have hundreds of forms on one page, or will that cause problems (e.g. slow it down)?
If it's not OK, can you suggest a better way to do this?