include_once 'title.php';
include_once 'db.php';
$PagingRows=4;
if (!isset($StartRec))
$StartRec=0;
else
$StartRec=$_POST['StartRec'];
$TotalRec =mysql_num_rows(mysql_query("select * from s_products where c_id='$_GET[cid]' order by p_id"));
$NumberOfPages = ceil($TotalRec/$PagingRows);
?>
Casino College Online - Online Casino Dealer Training Program
if ($rsprod=$db->get_results("select * from s_products where c_id='$_GET[cid]' order by p_id limit $StartRec,$PagingRows"))
{
foreach ($rsprod as $rs)
{
?>