<?
$order=$_GET['id_view'];
if ($order=="") { $order=1;}
$start=$order-1;
include "connect.php";
$sql="select * from tb_blog where id_blog limit $start,1 ";
$result=mysql_db_query($dbname,$sql);
$r=mysql_fetch_array($result);
$sql="select * from tb_blog";
$result=mysql_db_query($dbname,$sql);
$total=mysql_num_rows($result);