11 2018 档案
摘要:$array = [ '0' => [ 'name' => '111', 'age' => '2', ], '1' => [ 'name' ...
阅读全文
摘要:正则表达式如下: /(^[1-9]\d*(\.\d{1,2})?)|(0(\.\d1,2)?)/价格符合两种格式 ^[1-9]\d*(.\d{1,2})?$ : 1-9开头,后跟是0-9,可以跟小数点,但小数点后要带上1-2位小数,类似2,2.0,2.1,2.22等^0(.\d{1,2})
阅读全文
摘要:function addresstolatlag($address){ url=′http://api.map.baidu.com/geocoder/v2/?address=′.address.'&output=json&ak=xxxxxxxxxxxxxxx'; //http://lbsyu
阅读全文
摘要:更换:git remote set-url origin http://git.******.cn/sucry/mouse.git 直接更换,无需删除 注意:上面是更换,如果是空的,需要添加路径,而不是更换 git remote add origin http://......file.git
阅读全文
摘要:function dealed_array_merge(a,b){ if (a && !b){ return a; } if (!a && b)return$b;if(a && $b){ return array_merge(a,b); } return [];}
阅读全文