Hello, I have a form which on the first page you input some data for say a category. This is then sent to a php handling file. In the form, there is a part for selecting a number of cars to enter into the database. I have this number then generating that number of 3 inputs for each car (manufacturer, model, year). When all of this data is then sent (with the initial data being sent as well), I want to be able to submit it to a mysql database with a table for categories (the initial data) and then a table for cars (with an identifier for the category they belong to).
At the minute I have the number limited to a max of ten cars, but I want to be able to make it that any number of cars can be entered. At the minute I have code written collecting and inserting data for 1-10 cars depending on if the data exists.
This is just an example but is exactly what I need to work on another topic, its just complicated to explain with the actual topic. 😃