Guest_imported
New member
- Jan 1, 1970
- 0
I am currently making a shopping site for a college project using PHP and MySQL.
I have a generated page of the stock in the database in PHP and each item of stock has a inputbox next to it for the quantity of how many you want to buy. The problem is that all the quantity boxes get the same name as they are in a loop.
Does any one know how to give these input boxes unique names that I can then call later on in the next page of the site etc.
As variables or arrays
Any help would be much appreciated
I have a generated page of the stock in the database in PHP and each item of stock has a inputbox next to it for the quantity of how many you want to buy. The problem is that all the quantity boxes get the same name as they are in a loop.
Does any one know how to give these input boxes unique names that I can then call later on in the next page of the site etc.
As variables or arrays
Any help would be much appreciated