上一页 1 ··· 112 113 114 115 116 117 118 119 120 ··· 143 下一页
摘要: {if$_username}{$_username}退出我的订单{else}urlencode($_GET['forward'])))}"target="_blank">登录|注册 {/if} 阅读全文
posted @ 2017-10-09 10:07 刘俊涛的博客 阅读(2353) 评论(0) 推荐(0)
摘要: $pid =I('pid'); $year = I('year'); $productType = I('productType'); //搜索条件 where $_where = "cinfo.uid=$uid and cg.type=1 and cg.status=1"; if($pid){ ... 阅读全文
posted @ 2017-10-09 10:05 刘俊涛的博客 阅读(1076) 评论(0) 推荐(0)
摘要: $stcount=M("Results_all")->alias('a') ->join("s_test_nameasbona.subject=b.sidanda.testsets=b.number",'left') ->where("a.subject=$subjectand b.name='$testsname'")->field("count(a.num... 阅读全文
posted @ 2017-10-09 10:02 刘俊涛的博客 阅读(493) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-09-29 21:58 刘俊涛的博客 阅读(183) 评论(0) 推荐(0)
摘要: "; } echo ""; echo ""; echo ""; echo ""; ?> 50000){ $m*=0.95; $n++; }echo ""; while($m>5000) { $m-=5000; $n++;} echo "总共经过".$n."次路口"; echo ""; echo ""; echo ""; ?>... 阅读全文
posted @ 2017-09-29 17:53 刘俊涛的博客 阅读(525) 评论(0) 推荐(0)
摘要: <?php header("content-type:text/html;charset=utf-8"); /* 有一堆桃子,猴子第一天吃了其中的一半,并再多吃了一个! 以后每天猴子都吃其中的一半,然后再多吃一个。 当到第十天时,想再吃时(即还没吃),发现只有1个桃子了。 问题:最初共多少个桃子?*/ function ct($n){ if($n==1){ //... 阅读全文
posted @ 2017-09-29 17:51 刘俊涛的博客 阅读(2469) 评论(0) 推荐(0)
摘要: php创建无限极目录代码 阅读全文
posted @ 2017-09-29 17:40 刘俊涛的博客 阅读(439) 评论(0) 推荐(0)
摘要: 单例模式一般会用在数据库连接上 具体代码例子: 阅读全文
posted @ 2017-09-29 17:39 刘俊涛的博客 阅读(209) 评论(0) 推荐(0)
摘要: 很多时候,我们使用配置文件来读取配置,那么php如何使用ini文件呢? 代码如下: 例如将:数据库信息存到ini文件中,进行读取。 阅读全文
posted @ 2017-09-29 17:37 刘俊涛的博客 阅读(2866) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-09-29 16:33 刘俊涛的博客 阅读(166) 评论(0) 推荐(0)
上一页 1 ··· 112 113 114 115 116 117 118 119 120 ··· 143 下一页