Let's take a look at the parameter passing problem. I don't quite understand $ action =$ _ REQUEST ['AC']? $ _ REQUEST ['AC']: 'list'; why do you want to write this? what does it mean? I don't understand & nbsp; if ($ action = 'list ') {/* Check the parameter passing problem on the page. I don't quite understand it.
$ Action = $ _ REQUEST ['AC']? $ _ REQUEST ['AC']: 'list'; why do you want to write this? what do you mean?
If ($ action = 'list ')
{
/* Paging */
$ Tpp = 15;
$ Page = max (1, intval ($ _ REQUEST ['Page']);
$ Start_limit = ($ page-1) * $ tpp;
$ Url = "? Act = list ";
$ Cat_id = isset ($ _ REQUEST ['cat _ id'])? Intval ($ _ REQUEST ['cat _ id']): 0; why is this write? there are more than 0
Switch ($ sortkey)
{
Case 'id ':
$ Order = "order by id DESC ";
$ Url. = "& orderby = $ orderby"; why? =
Break;
Case 'visit ':
$ Order = "order by views DESC ";
$ Url. = "& ord
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service