Hello,
Another issue came up, when needed to run mass-functions.
archiveinv.php is generating html-file with result of query function. This part is working fine. And launched from form-link "archiveinv.php?offerid=$offerid" does it's job.
But, when i need to launch many of them in same time, with array result, it's harder to get working.
I manage it almost with this part of script. This generates a result of needed rows for execution. But needs still a new query. Executing only one by one.
It doesn't do the loop for execute all in same time. I use here header-function, but can i use something else with this?
$keys = array($offerid);
for($i = 0; $i < count($offerid); $i++) {
header('Location:archiveinv.php?offerid='."$keys[$i]".'"');
foreach($offerid[$keys[$i]] as $key => $value) {
$key . " : " . $value . "";
}
echoed output shows correct results as:
header('location:archiveinv.php?offerid=160415132928);
header('location:archiveinv.php?offerid=160415135316);