自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 两个站之间互传数据

A 发送接收方 function sumbit(){ $url = "123"; $data   = array( 'id_num'  => $id_num, ); $result = $this->postContent($url,$data);//传递的url 和 数据  取到想要的数据 $list = json_decode($result, true);//接收返回的数据时候

2016-03-22 10:43:22 245

原创 打印JS

function a(){ $(".dayinTable").print({ globalStyles: true, mediaPrint: false, stylesheet: null, noPrintSelector: ".no-print", iframe: true, append: null, prepend: null, manuallyCopyFormValues

2016-03-12 17:04:22 189

原创 循环update不要写判断是否存在 if(!$XX)

在循环中写update的时候  如果其中有一条记录数据相同没有更新   那么会返回false  这样循环就会自动退出  爆炸BUG

2016-01-22 17:39:28 262

原创 strtotime小笔记

$year = date("y",time()); $month = date("m",time()); $day = date("d",time()); 是可以把年月日拆分 date("y-m-d", strtotime($year.'-'.$month.'-'.$day));  strtotime里面 - 得加符号引起来 不然转换会错误 Y-M-D如果大写.输出

2015-12-14 16:40:43 150

原创 mysql 1067 打不开

配置MYSQL下data文件中删除

2015-12-10 18:08:02 214

原创 数据库搜索 按照时间条件

$date格式 2015-12-10 $bengin = strtotime($date); //转换时间戳  select * from {$this->table} where  ( time >= ".$bengin." and time < ".strtotime(" + 1 day ", $bengin).") "); //time大于$bengin时间  并且小于+1天的$beng

2015-12-10 10:04:02 352

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除