自定义博客皮肤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)
  • 收藏
  • 关注

原创 tp5 获取数据库所有的数据表

$exist = Db::query(“show tables”);返回值array(54) {[0] => array(1) {[“Tables_in_thinkcmf5”] => string(13) “uc_admin_menu”}[1] => array(1) {[“Tables_in_thinkcmf5”] => string(8) “uc_asse...

2019-04-28 11:39:05 3270

转载 从二维数组中娶某一列 转换成一维数组

<?php// 表示由数据库返回的可能记录集的数组$a = array( array( 'id' => 5698, 'first_name' => 'Bill', 'last_name' => 'Gates', ), array( 'id' => 4767, 'first_name' => 'Steve',...

2019-04-28 11:36:30 1024

原创 css属性选择器 选择的属性是变量的时候

$(document).ready(function () {$(".sort_name").click(function() {var parent_id = $(this).data(‘id’);console.log(parent_id);$(“tr[data-parent_id=”+parent_id+"]").toggle();})});

2019-04-27 17:36:10 757

原创 ajax请求

$(function(){//初始化数据//var url1 = “http://a.com/customer/Index/department”; //后台地址$("#input-list_tpl").change(function(){ //监听下拉列表的change事件var dept = $(this).val(); //获取下拉列表选中的值 //发送一个post请求 $....

2019-04-25 11:20:31 96

原创 a标签里面的href=""和href="JavaScript"有什么区别呢?

原来是< a href="" class=“fixedred” id=“bao”>< img src=" __ PUBLIC __/Home/images/pro-red.png"></ a >我用js控制的跳转top.location.href = “{:U(‘red/red_info’,array(‘id’=>$data[‘customer_id’]...

2019-04-22 17:15:53 330

原创 tp3.2 NOT IN用法

price1=M(′price′)−&gt;where(&quot;userid=price1 = M(&#x27;price&#x27;)-&gt;where(&quot;user_id=price1=M(′price′)−>where("useri​d=sid")->where([‘content’=>[‘not in’,$ol...

2019-04-19 15:59:41 3525

空空如也

空空如也

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

TA关注的人

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