Temporary Internet Files influence php+mysql execution Speed 1th/7 page

Source: Internet
Author: User
[Code] Include_once (".. /db.php ");
if ($_get[x2]==0 and $_get[x1]==0)
{
$t = "s1=";
}else
{
if ($_get[x2]!=0)
{
$t = "x2= ' $_get[x2] '";
}else
if ($_get[x1]!=0)
{
$t = "x1= ' $_get[x1] ' and x2=0";
}
}
$query = "SELECT count (*) from Ask_member where $t";
$result 2 = mysql_db_query ($DataBase, $query);
$r 3 = mysql_fetch_array ($result 2);
$amount = $r 3[0];
$page _size=5;
if ($amount% $page _size==0 and $amount >0)
{
$pagecount = ($amount/$page _size);
}else
{
$pagecount =intval ($amount/$page _size) +1;
}
if ($_get

Current 1/7 page 1234567 next page

The above describes the temporary Internet Files Impact php+mysql Execution speed of the comparison of the 1th 7 page, including the Temporary Internet files, I hope to be interested in PHP tutorial friends helpful.

  • Contact Us

    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

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.