/**************** HOme ******************/ $maxRows_rsPagehome = 1; $pageNum_rsPagehome = 0; if (isset($_GET['pageNum_rsPagehome'])) { $pageNum_rsPagehome = $_GET['pageNum_rsPagehome']; } $startRow_rsPagehome = $pageNum_rsPagehome * $maxRows_rsPagehome; mysql_select_db($database_connresort, $connresort); $query_rsPagehome = "SELECT * FROM home "; $query_limit_rsPagehome = sprintf("%s LIMIT %d, %d", $query_rsPagehome, $startRow_rsPagehome, $maxRows_rsPagehome); $rsPagehome = mysql_query($query_limit_rsPagehome, $connresort) or die(mysql_error()); $row_rsPagehome = mysql_fetch_assoc($rsPagehome); /*******************************************/ ?>