I have set the value of (start) equal to 4 and it should increase +2 every time I click continue. It works fine, but I need it to stop counting when the value of (start) becomes bigger then 10, 

```
<?php
$number=array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'g', 'j');
$start=2;     
$len = isset($_GET['len']) ? (int)$_GET['len'] : 2; 
$s = isset($_GET['start']) ? (int)$_GET['start']+2 : 4; 

foreach ($number as $value) {       
    print_r($value) ; 
}
echo '<br>'.'<br>';

if (isset($_GET['start']))
    $start = $_GET['start'];

foreach (array_slice($number,$start,$len) as $k){
    print_r($k);
}
echo '<br>'.'<br>';                       

if(is_numeric($start)) {   
    echo '<a href="http://192.168.1.6/alpha.php?start='.$s.'&len=2">continue</a>';
} else {
    echo "not a nummber";
}                                 
?>

```