Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $a = 0;
- $precords = array();
- while (true) {
- $new_records = $app->dsQuery('ContactGroupAssign', 1000,$a, $pquery, $pfields);
- if (empty($new_records)) break;
- $precords = array_merge($precords, $new_records);
- $a++;
- }
Add Comment
Please, Sign In to add comment