put isset($_GET('start') it wont display the next page on paging.php
<pre><code>$page_name= (isset($_POST['page_name'])); 
@$limit=$_GET['limit'];

if(strlen($limit) &gt; 0 and !is_numeric($limit)){
    echo "Data Error";
    exit;
}
switch($limit)
{
    case 2:
        $select2="selected";
        $select10="";
        $select5="";
        break;

    case 5:
        $select5="selected";
        $select10="";
        $select2="";
        break;

    default:
        $select10="selected";
        $select5="";
        $select2="";
        break;
}

$start=($_GET['start']);  // THIS PART!//

if(strlen($start) &gt; 0 and !is_numeric($start)){
    echo "Data Error111";
    exit;
}

$eu = ($start - 0); 

if(!$limit &gt; 0 ){ 
    $limit = 10;    
}              

$this1 = $eu + $limit; 
$back = $eu - $limit; 
$next = $eu + $limit; 

$query=" SELECT * FROM tblename  ";
$result=mysql_query($query);

echo mysql_error();
$nume=mysql_num_rows($result);
$query=" SELECT * FROM tblname  limit $eu, $limit ";
$result=mysql_query($query);
echo mysql_error();
&lt;?php while($row_Recordset1 = mysql_fetch_array($result)) { ?&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;?php echo $row_Recordset1['Id']; ?&gt;&lt;/td&gt;
        &lt;td&gt;&lt;?php echo $row_Recordset1['country']; ?&gt;&lt;/td&gt;
&lt;?php
    if($back &gt;=0) { 
    print "&lt;a href='$page_name?start=$back&amp;limit=$limit'&gt;&lt;font face='Verdana' size='2'&gt;PREV&lt;/font&gt;&lt;/a&gt;"; 
} 

echo "&lt;/td&gt;&lt;td align=center width='30%'&gt;";

$i=0;
$l=1;

for($i=0;$i &lt; $nume;$i=$i+$limit){
    if($i &lt;&gt; $eu){
        echo " &lt;a href='$page_name?start=$i&amp;limit=$limit'&gt;&lt;font face='Verdana' size='2'&gt;$l&lt;/font&gt;&lt;/a&gt; ";
    }
    else { 
        echo "&lt;font face='Verdana' size='4' color=red&gt;$l&lt;/font&gt;";
    }        
    $l=$l+1;
}

echo "&lt;/td&gt;&lt;td  align='right' width='30%'&gt;";

if($this1 &lt; $nume) { 
    print "&lt;a href='$page_name?start=$next&amp;limit=$limit'&gt;&lt;font face='Verdana' size='2'&gt;NEXT&lt;/font&gt;&lt;/a&gt;";
} 
echo "&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;";
?&gt;
</code></pre>

<p>sory guys..like this if i add isset to start to defined $start variable, when i run it it display the the data let's say 10 country name, but when i click next to display the page 2, it come out with the same country name in page 1 not other name in page 2,if i don't put isset to $start it display the 10 country on page 1 and when i click next to view the page 2 it success to display other different 10 country name, so how suppose i do? and what mistake i have to correct?</p>
