Hi,
I have been working on a small project where information from a database is displayed (while command and mysql query), one of these is a form which can be changed to different value (in this case its for quantity).
Basically what i want it to do is put all the new quantities and also the id's into an array (done that)
then after its done, validate them with the database values and if they need to be updated they can be.
So far i have got some of the values out with
foreach ($_POST['item_id'] as $key=>$value)
{
echo $key. " " . $value . "<BR> \n";
}
That gets me something like this
0 1
1 9
2 5
3 4
first row is count and second row is the items id
Anyway im not sure how to do much else with them besides get the values out. :bemused:
Any help with this would be great!