Introduction: This is a detailed page of the PHP interval page. It introduces the knowledge, skills, experience, and some PHP Source Code related to the PHP, PHP, and paging PHP interval page.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 355982 'rolling = 'no'>
Function outpage ($ page_total, $ page_no, $ page_limit = 5) {$ page_list = ''; $ max = $ page_no >=$ page_limit? $ Page_no + $ page_limit: 10; if ($ max> $ PS) $ max = $ pS; $ min = $ page_no-$ page_limit; if ($ min <1) $ min = 1; if ($ page_no> 1) $ page_list. = 'homepage'; For ($ I = $ min; $ I <= $ Max; $ I ++) $ page_list. = ('paginated HTML '); $ page_list. = $ page_no >=$ page_total? '': 'End page ';}
Call:
Echo outpage ($ page_total, $ _ Get ['page'], 6 );
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/355982.html pageno: 2.