<?php
$array = ('1', '2', ... , '30000');
$return = myFunction($array); // max 200 elements for one query
foreach($return as $r){ //this must be call only one
//doSomething;
}
i have array with 30000 elements. I must use there elements in function myFunction, but this function can get only max 200 elements for one query.
You would need to go thru the huge array with foreach and store the elements into help array – when you reach the limit of your function, call the function passing help array as argument to it and start over with empty help array… if you need to combine arrays (results of your function calls) use array_merge