Consider An API Result , Gives 10 Products Per Page. 

Eg. <http://api.example.com/key=XXX&type=1&cat=abc>
Gives 10 Results 0 to 9

Eg. <http://api.example.com/key=XXX&type=1&cat=abc&page=2>
Gives Another 10 Results 0 to 9

I made a loop 

```
$cnt = count($results) // 10
$page = 1;
$text = $_REQUEST['more'];

// I Want to break the loop to show 3 products only to user When the user clicks on the load more , then i have to show another 3 products..like this continues. 
for($i=0; $i<$cnt; $i++)
{
   if($i == 3) break;
   /*
    * My Stuffs.
   */
   if($text == 'more')
   {
      // i have to show 3 to 6 , Then 6 to 9 , Then page 2 , 0 to 2
   }

}

```

How to perform this type of breaking the loop an continue?