会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
丶长情
博客园
首页
新随笔
联系
订阅
管理
2018年4月16日
tp join 三表联查
摘要:
阅读全文
posted @ 2018-04-16 14:25 丶长情
阅读(210)
评论(0)
推荐(0)
2018年4月11日
PHP基础
摘要: 1.数组与字符串之间的相互转换。 (1)数组转为字符串 $array = ['1','2','3','4']; $str = implode(",",$array ); dump($str); (2)有分割号的字符串转为数组 $str = '1,2,3,4,5'; $result = explode
阅读全文
posted @ 2018-04-11 09:39 丶长情
阅读(124)
评论(0)
推荐(0)
2017年10月19日
php 数组对象之间的转换
摘要: 在之前我写过php返回json数据简单实例 从5.2版本开始,PHP原生提供json_encode()和json_decode()函数,前者用于编码,后者用于解码。 一、json_encode() 1 2 3 4 <?php $arr = array ('a'=>1,'b'=>2,'c'=>3,'d
阅读全文
posted @ 2017-10-19 14:10 丶长情
阅读(69634)
评论(1)
推荐(0)
2017年10月16日
路由测试-lee
摘要: //get 路由 Route::get('/', 'WelcomeController@index'); Route::get('home', 'HomeController@index'); //路由分组 Route::group(['prefix' => 'Index'], function()
阅读全文
posted @ 2017-10-16 15:10 丶长情
阅读(155)
评论(1)
推荐(0)
公告