0) { $prv = "Previous"; } else { $prv = "Previous"; } $q="Select SQL_CALC_FOUND_ROWS * from imageteb limit $cps, $rpp"; $rs=mysql_query($q) or die(mysql_error()); $nr = mysql_num_rows($rs); //Number of rows found with LIMIT in action $q0="Select FOUND_ROWS()"; $rs0=mysql_query($q0) or die(mysql_error()); $row0=mysql_fetch_array($rs0); $nr0 = $row0["FOUND_ROWS()"]; //Number of rows found without LIMIT in action if (($nr0 <1) || ($nr <3)) { $b = $nr0; } else { $b = ($cps) + $rpp; } ?> Welcome to Pecock.
All Kinds of Garments Quality Screen Printing Project
Home | About Us | Factory Profile | Machinery | Product | Buyers | Banker | Contact Us | Webmail
     
 
 
     
"; echo ""; $c = 0; }// end of if condition $c++; $i++; }//End of while ?>
";break; } if($c == 3) {echo "
 
  $prv"; ///////////////////////////////////////////////////////////////////////////////// //Following IF Statement is used to determine whether the Next link will be //enabled or disabled. If the user has reached the last page of the record, then //the Next link will be disabled. ///////////////////////////////////////////////////////////////////////////////// if ($cps == $nr0) { echo " | Next "; } else { if ($nr0 > 3) { echo " | Next "; } } ///////////////////////////////////////////////////////////////////////////////// ?>  
     
 
 
 
 
 
 
   
Copyright © 2008 Peacock Design & Flock Printers Developed and Maintained by : DesignDesk