摘要:
SELECT *,(SELECT COUNT(*) FROM yd_order o WHERE FROM_UNIXTIME(o.`ctime`,'%Y-%m')='2016-06' AND o.uid=c.cus_id) AS order_num_m , (SELECT SUM(o.`pay_fee`) FROM yd_order o WHERE o.uid=c.cus_id) AS p... 阅读全文
摘要:
//国外 $arr6 = array_merge($arr2,$arr4); $arr8 = array(); $arr10 = array(); foreach($arr6 as $k6=> $v6){ if(!array_search($v6['addres'],$arr8)){ ... 阅读全文
摘要:
<!doctype html><html><head> <meta charset="utf-8"> <title>广告主注册</title> <link href="__CSS__/index.css" rel="stylesheet" /> <script src="__JS__/jquery- 阅读全文
摘要:
function getinfo($pid){ $str = ''; $row = M('user')->where(array('pid'=>$pid))->select(); if($row){ foreach($row as $key => $val ){ $str .= ','.$val['id']; ... 阅读全文
摘要:
if(strtolower($_SERVER['REQUEST_METHOD']) == 'post'){} //判断是否POST提交 阅读全文
摘要:
1 /** 2 * User: finn.lee 3 * Date: 2016/3/5 14:25 4 */ 5 $rows = array( 6 0=>array( 7 'cat_id' => 1, 8 'name' => 'dev', 9 'pid' => 0 10 ), 11 1=>array 阅读全文
摘要:
http://www.atool.org/httptest.php 阅读全文
摘要:
public function logIn($msg){ $fp = fopen($this->file,"a+"); flock($fp, LOCK_EX) ; //锁定文件 fwrite($fp,"执行日期:".date("Y-m-d H:i:s",time())."\n".$msg."\n\n 阅读全文
摘要:
提交:1、先添加 git add home/* 再提交 git commit -m '注释' 然后 git push 更新2、 git pull 阅读全文