A large number of data paging problems are to read some information from the table t *, and then add the information you are interested in on another page, that is, the browse table, for example, youxi or qq. Then, the entire row of data with such words in the data that t * reads is read. What I did before was to read ten entries and then judge. some of them read the following code. in this way, some pages do not exist, and some pages only have one or two. Then I used select & nbsp; * & nbs to issue a large amount of data paging.
It is to read some information from the table t *, and then add the information you are interested in on another page, that is, the browse table, such as youxi or qq. Then, the entire row of data with such words in the data that t * reads is read. What I did before was to read ten entries and then judge. some of them read the following code. in this way, some pages do not exist, and some pages only have one or two. Then I use select * from t * where Op_h like % row [brow] or like row ...... limit $ page $ pagesize. This is acceptable, but the data is too large to be read due to more attention. I hope you can give me some good comments and suggestions.
Include ("../inc/nois. php ");
Include ("../inc/db_conn.php ");
$ Conn = new dbClass ();
$ Conn-> Connect ();
// Number of displayed pages
$ Pagesize = 10;
// Obtain the current maximum number of pages
$ Pageindex = $ count [0]/$ pagesize;
If ($ _ GET [page])
{
$ Pagenum = $ _ GET [page];
$ Page = ($ pagenum-1) * $ pagesize;
$ Page. = ',';
}
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