我是靠谱客的博主 耍酷百褶裙,这篇文章主要介绍影响PHP+MYSQL执行速度的写法对比第1/7页,现在分享给大家,希望可以做个参考。

[code]<?php 
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   "; 
$result2 = mysql_db_query($DataBase, $query); 
$r3 = mysql_fetch_array($result2); 
$amount=$r3[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

1234567下一页阅读全文

最后

以上就是耍酷百褶裙最近收集整理的关于影响PHP+MYSQL执行速度的写法对比第1/7页的全部内容,更多相关影响PHP+MYSQL执行速度内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(211)

评论列表共有 0 条评论

立即
投稿
返回
顶部