会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
我的屋子
Admin
上一页
1
2
3
下一页
2015年10月5日
多对多关联模型,MANY_TOMANY
先分别创建三张表:think_user think_group think_user_groupuser 表里有id、name字段group 表里有id、groupName字段user_group 表里有uid、gid字段user_group 表里的uid、gid字段都作为主键然后建立一个Model...
Read More
posted @ 2015-10-05 11:11 哟风
Views(322)
Comments(0)
Diggs(0)
2015年10月4日
array_merge() 用法
array_merge() 函数把两个或多个数组合并为一个数组。如果键名有重复,该键的键值为最后一个键名对应的值(后面的覆盖前面的)。如果数组是数字索引的,则键名会以连续方式重新索引。注释:如果仅仅向 array_merge() 函数输入了一个数组,且键名是整数,则该函数将返回带有整数键名的新数组,...
Read More
posted @ 2015-10-04 11:30 哟风
Views(450)
Comments(0)
Diggs(0)
2015年10月3日
session_unset 与 session_destroy 区别
session_unset()释放当前在内存中已经创建的所有$_SESSION变量,但不删除session文件以及不释放对应的session idsession_destroy()删除当前用户对应的session文件以及释放session id,内存中的$_SESSION变量内容依然保留因此,释放用...
Read More
posted @ 2015-10-03 18:28 哟风
Views(174)
Comments(0)
Diggs(0)
2015年9月19日
关联模型中
1 protected $_link = array( 2 'User'=>array( //'User'代表1对N中的1的表名 3 'mapping_type'=>BELONGS_TO, //关联类型 4 ...
Read More
posted @ 2015-09-19 11:58 哟风
Views(156)
Comments(0)
Diggs(0)
TP框架中分页类的使用
1 public function test(){ 2 $m=M('Message'); 3 4 import('ORG.Util.Page');// 导入分页类 5 $count = $m->count();// 查...
Read More
posted @ 2015-09-19 11:47 哟风
Views(7388)
Comments(0)
Diggs(0)
2015年9月18日
解决IE浏览器兼容问题的一行代码
Read More
posted @ 2015-09-18 17:30 哟风
Views(146)
Comments(0)
Diggs(0)
点击刷新验证码所需要的onclick函数
Read More
posted @ 2015-09-18 16:49 哟风
Views(716)
Comments(0)
Diggs(0)
2015年9月12日
ajax验证用户名是否被注册 ; ajax提交form表单
register.html 文件代码: Register 用 户 名 : 密 码 : 确认密码 : 性 别 : 男 女验 证 码 : RegisterAction.class.php文件代码:display(); } public function check...
Read More
posted @ 2015-09-12 17:48 哟风
Views(2086)
Comments(0)
Diggs(0)
2015年9月11日
点击图片img提交form表单
Login 用户名 : 密 码 : 验证码 :
Read More
posted @ 2015-09-11 23:00 哟风
Views(2378)
Comments(0)
Diggs(0)
2015年8月30日
输入框蓝光特效
1 2 3 4 5 CSS3 input输入框蓝光特效 - 代码笔记 www.198zone.com 6 23 24 25 26 27 28 29 30 31 32 33
Read More
posted @ 2015-08-30 20:07 哟风
Views(130)
Comments(0)
Diggs(0)
上一页
1
2
3
下一页