LocalhostHomeindex.phpIndexcatid2p2.html has more catid2, where cat has no value. It should be p2 only. What is the problem? Paging import (& #039; ORG. util. page & #039;); $ pagenewPage ($ count, 40); $ show $ pag... localhost/Home/index. php/Index/cat // id/2/p/2.html
More cat/id/2/, where cat has no value. It should be only p/2. What is the problem?
Page under menu Method
Import ('org. Util. page ');
$ Page = new Page ($ count, 40 );
$ Show = $ page-> show ();
$ List = $ comm-> query ($ SQL );
It is the jump from the cat Method to the menu method. There are no problems with the 40 records displayed on each page. It is because the paging jump URL has several more parameters. Thank you.
Reply content:
Localhost/Home/index. php/Index/cat // id/2/p/2.html
More cat/id/2/, where cat has no value. It should be only p/2. What is the problem?
Page under menu Method
Import ('org. Util. page ');
$ Page = new Page ($ count, 40 );
$ Show = $ page-> show ();
$ List = $ comm-> query ($ SQL );
It is the jump from the cat Method to the menu method. There are no problems with the 40 records displayed on each page. It is because the paging jump URL has several more parameters. Thank you.
Please paste the detailed code: including the code that you reference the part of the page !!!
However, it should be stated in advance that your cat is just one of your methods. The only redundant one may be the cat behind/. Remove one/and try it. In addition, is your framework the original version and modified by others?