Assuming one did NOT know what form fields (either qty or their names) were going to be passed, is it possible to somehow loop through them?
for (i = 0; i<= count($_POST);i++) {
//do something;
}
or
foreach ($_POST) {
//do something;
}
I know neither of the above is correct - but is there a proper syntax to achieve something like this?