 |
| |
include("common.php");
$query="select * from intro order by id";
$result=mysql_query($query);
while($n=mysql_fetch_array($result))
{
?>
| |
| |
}
?>
| |
|
include("common.php");
//$_GET['ch'];
//$channel=$_GET['ch'];
// echo $channel;
$x=0;
$query="SELECT * FROM channel where top_cat in('tv serial and drama','Indian Television Drama')";
$result=mysql_query($query);
while($n=mysql_fetch_array($result))
{
$x=$x+1;
}
$m=$x/9;
$j=0;
for($i=1;$i<=$m;$i++)
{
?>
//$channel=$_GET['ch'];
$query="SELECT * FROM channel where top_cat in('tv serial and drama','Indian Television Drama')".
" LIMIT $j, 9";
$result=mysql_query($query);
//$cid=mysql_query($result,,"cid");
while($n=mysql_fetch_array($result))
{
?>
| |
}
?>
$j=$i*9;
};
?>
//$channel=$_GET['ch'];
if ($x>9)
{
$k=$x%9;
}
else
{
$j=0;
$k=$x;
}
$query="SELECT * FROM channel where top_cat in('tv serial and drama','Indian Television Drama')".
" LIMIT $j, $k";
$result=mysql_query($query);
//$cid=mysql_query($result,,"cid");
while($n=mysql_fetch_array($result))
{
?>
| |
}
?>
|
|
|
 |
| |
|
|