I think I almost figured it out:
PHP Code:
/*
$totalPages=722;
$url_page= $_GET['page'];
$num_pages = 100;
for($thisPage = 1; $thisPage <= $totalPages; $thisPage = $thisPage+$num_pages ){
$startpage = $thisPage;
}
*/
$num_pages = 100;//is the number of html pages inserted in a database per minute because online servers can't do all at once
$totalPages=722;//is the total amount of pages of html that exist
$end_url_page= $totalPages/$num_pages;//is LAST page of this file's url. This file will repeat every minute due to the 1 minute rule for online servers with the extension?page=1, ?page=2...
$url_page= $_GET['page'];//is PRESENT page of this file's url.
$startpage = (($url_page - 1 ) * $num_pages) + 1;//is the present html page to be inserted in the database
I tried to be as detailed as possible. If there are any more questions let me know thanks!