[Code]
<Html>
<Head>
<Meta http-equiv = "Content-Type" c>
<Title> User Information summary </title>
<Style type = "text/css">
<! --
Body, td, th {
Font-size: 14px;
}
. STYLE1 {
Font-size: 16px;
Color: #666666;
}
-->
</Style>
</Head>
<Body leftMargin = 0 topMargin = 0 rightmargin = 0>
<P>
<? Php
######################################## #####################
########### Connect to a database ################
######################################## #####################
$ Db = mysql_connect ("192.168.0.2", "root", "goalwe608"); // database, user name, password
Mysql_select_db ("86pos", $ db); // Database
############ Paging ############
// Set the number of records displayed on each page
$ Pagesize = 5;
// Retrieve the total number of records
$ Res = mysql_query ("select count (id) from buyer", $ db );
$ Myrow = mysql_fetch_array ($ res );
$ Numrows = $ myrow [0];
// Calculate the total number of pages
$ Pages = intval ($ numrows/$ pagesize );
If ($ numrows % $ pagesize)
$ Pages ++;
// Determine whether the page number is set or not. If not, the page number is defined as the homepage.
If (! Isset ($ page ))
$ Page = 1;
// Prevent malicious access
If ($ _ GET