摘要:
var_dump($_SERVER); 阅读全文
posted @ 2014-08-14 16:58
麦田守望者~
阅读(285)
评论(0)
推荐(0)
摘要:
CI默认过滤了$_GET需要传递get参数时一般直接 /参数一/参数二详见手册说明:http://codeigniter.org.cn/user_guide/general/controllers.html#passinguri但是有时候需要传递很长的复杂的url,比如常用的 backURL=htt... 阅读全文
posted @ 2014-08-14 16:52
麦田守望者~
阅读(199)
评论(0)
推荐(0)
摘要:
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
麦田守望者~
阅读(374)
评论(0)
推荐(0)
摘要:
$str="aa,bb,cc,ddd,eee";if(strstr($str,‘cc’)){echo '包含';} 阅读全文
posted @ 2014-08-14 14:49
麦田守望者~
阅读(150)
评论(0)
推荐(0)
摘要:
#显示列表 public function index(){ //载入分页类 $this->load->library('pagination'); //每页显示的条数 $perPage=11; /****配置分页**... 阅读全文
posted @ 2014-08-14 11:05
麦田守望者~
阅读(460)
评论(0)
推荐(0)
摘要:
方法一:$this->db->query("sql 语句"); 直接写sql语句方法二: #多表关联查询 $data=$this->db->from('goods') ->join('shop','shop.shopid=goods.shopid') ... 阅读全文
posted @ 2014-08-14 10:57
麦田守望者~
阅读(5323)
评论(0)
推荐(0)
摘要:
假一赔十 ... 阅读全文
posted @ 2014-08-14 09:14
麦田守望者~
阅读(4501)
评论(0)
推荐(0)

浙公网安备 33010602011771号