Guest User

Untitled

a guest
Jan 24th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. $a = 0;
  2. $precords = array();
  3. while (true) {
  4.     $new_records = $app->dsQuery('ContactGroupAssign', 1000,$a, $pquery, $pfields);
  5.     if (empty($new_records)) break;
  6.         $precords = array_merge($precords, $new_records);
  7.         $a++;
  8. }
Add Comment
Please, Sign In to add comment