会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hgj123
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
49
50
51
52
53
54
55
56
57
···
63
下一页
2014年8月18日
封装百度API的类
该文被密码保护。
阅读全文
posted @ 2014-08-18 17:10 麦田守望者~
阅读(2)
评论(0)
推荐(0)
2014年8月15日
乱码 设置编码
摘要: //设置编码格式 header("Content-Type:text/html;cahrset=urf-8");
阅读全文
posted @ 2014-08-15 10:29 麦田守望者~
阅读(139)
评论(0)
推荐(0)
CI 如何获取get请求过来的数据
摘要: http://localhost/ci_tuangou/index.php/home/index/index?gid=2echo 'gid='. $this->input->get('gid');结果:gid=2
阅读全文
posted @ 2014-08-15 09:09 麦田守望者~
阅读(367)
评论(0)
推荐(0)
2014年8月14日
ci 打印出常用的变量
摘要: var_dump($_SERVER);
阅读全文
posted @ 2014-08-14 16:58 麦田守望者~
阅读(282)
评论(0)
推荐(0)
CI $_GET
摘要: CI默认过滤了$_GET需要传递get参数时一般直接 /参数一/参数二详见手册说明:http://codeigniter.org.cn/user_guide/general/controllers.html#passinguri但是有时候需要传递很长的复杂的url,比如常用的 backURL=htt...
阅读全文
posted @ 2014-08-14 16:52 麦田守望者~
阅读(197)
评论(0)
推荐(0)
获取checkbox 组成字符串
摘要: 1234$str_tag="";$s=$_POST['goods_server_name'];for($i=0;$i<count($s);$i++){ if($i==0){ $str_tag = $s[$i]; }else{ $str_tag = $str_tag .",".$s[$...
阅读全文
posted @ 2014-08-14 15:16 麦田守望者~
阅读(373)
评论(0)
推荐(0)
判断某字符串是否包含在 另一个字符串中
摘要: $str="aa,bb,cc,ddd,eee";if(strstr($str,‘cc’)){echo '包含';}
阅读全文
posted @ 2014-08-14 14:49 麦田守望者~
阅读(148)
评论(0)
推荐(0)
CI 结合Bootstrap 分页
摘要: #显示列表 public function index(){ //载入分页类 $this->load->library('pagination'); //每页显示的条数 $perPage=11; /****配置分页**...
阅读全文
posted @ 2014-08-14 11:05 麦田守望者~
阅读(458)
评论(0)
推荐(0)
CI 多表关联查询
摘要: 方法一:$this->db->query("sql 语句"); 直接写sql语句方法二: #多表关联查询 $data=$this->db->from('goods') ->join('shop','shop.shopid=goods.shopid') ...
阅读全文
posted @ 2014-08-14 10:57 麦田守望者~
阅读(5321)
评论(0)
推荐(0)
多个 label checkbox 组合 显示在同一个水平线上[前提Bootstrap框架]
摘要: 假一赔十 ...
阅读全文
posted @ 2014-08-14 09:14 麦田守望者~
阅读(4498)
评论(0)
推荐(0)
上一页
1
···
49
50
51
52
53
54
55
56
57
···
63
下一页
公告