![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
天之骄子呃
Fighter is fighting
展开
-
php猴子选大王
法一: function monkeyKing($n,$m) { $arr=range(1,$n); $i=0; while (count($arr)>1) { for($i=1;$i<=$m-1;$i++) { array_push($arr, array_shift($arr)); } array_shift($arr); } echo "$原创 2015-04-04 00:05:18 · 477 阅读 · 0 评论 -
php文件管理系统
<?php $path='./'; $url=$_SERVER['REQUEST_URI']; if(isset($_GET['dir'])) { $path=$path.'/'.$_GET['dir']; } else { $url.='?dir=./'; } $dh=opendir($path); if($dh===false) { echo "打开出错"; exit;原创 2015-04-06 22:00:49 · 760 阅读 · 0 评论 -
thinkphp解决无刷新分页搜索问题
问题起源比较蛋疼,就是点击第二页及以后出现图中情况查看源代码发现是这样的 a a 1 a 详情原创 2015-07-02 11:38:03 · 815 阅读 · 0 评论 -
mysql部分总结
// 监视地点table // 监视事件 insert/update/delete // after/before // 触发事件 insert/update/delete create trigger t1 after insert on ord for each row begin update goods XXX; end; create goods( gid int , name原创 2015-07-24 20:32:08 · 377 阅读 · 0 评论