会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
MrYong
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
10
11
12
13
14
15
16
17
18
···
25
下一页
2015年2月2日
PHP引入框架包
摘要: 引入包 之后 在写代码的时候会有提示。流程:项目名称右击->包含目录->TAB页签选择库-> add external source folder 找到需要的包。
阅读全文
posted @ 2015-02-02 11:18 Coding_Yong
阅读(463)
评论(0)
推荐(0)
2015年1月28日
PHP递归算法
摘要: /** * 获取菜单 * @param number $id * @return multitype: */ public function menu($id = 0) { $menu = M ( 'menu' ); $arrlist = array (); // 数组必须初始化,否p...
阅读全文
posted @ 2015-01-28 15:59 Coding_Yong
阅读(198)
评论(0)
推荐(0)
2015年1月19日
ThinkPHP语法总结
摘要: 1,$data存放实体:$data['title'] = I('post.title'); // 标题 $data['content'] = I('post.content'); // 正文 $data['postdate'] = I('post.postdate'); // ...
阅读全文
posted @ 2015-01-19 17:23 Coding_Yong
阅读(781)
评论(0)
推荐(0)
php 输出 sql语句
摘要: 第一种方法$data = M('news')->field("title,date_format(postdate,'%Y-%m-%d') as postdate,content")->where($map)->limit(1)->find(); var_dump( M...
阅读全文
posted @ 2015-01-19 16:49 Coding_Yong
阅读(2086)
评论(0)
推荐(0)
同时执行2条不同sql
摘要: select * from a;select *from b;用分号结束。
阅读全文
posted @ 2015-01-19 16:46 Coding_Yong
阅读(529)
评论(0)
推荐(0)
获取年月日
摘要: select date_format(postdate,'%Y-%m-%d') from news
阅读全文
posted @ 2015-01-19 16:34 Coding_Yong
阅读(131)
评论(0)
推荐(0)
年月日 替换为‘-’
摘要: $ss = str_replace(array('年','月','日'), array('-','-',''), $datetime);
阅读全文
posted @ 2015-01-19 15:51 Coding_Yong
阅读(1013)
评论(0)
推荐(0)
2015年1月14日
ThinkPHP 调用后台方法
摘要: 删除
阅读全文
posted @ 2015-01-14 17:12 Coding_Yong
阅读(412)
评论(0)
推荐(0)
2015年1月12日
zend studio 常用快捷键
摘要: 格式化代码: ctrl+shif+f注销代码:ctrl+/快速找到大括号的结束位置: 鼠标放在大括号的右侧,就能看到结束位置 ;
阅读全文
posted @ 2015-01-12 14:45 Coding_Yong
阅读(156)
评论(0)
推荐(0)
2015年1月6日
视频播放功能
该文被密码保护。
阅读全文
posted @ 2015-01-06 17:32 Coding_Yong
阅读(6)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
25
下一页
公告