会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
我的屋子
Admin
2016年4月3日
备忘
1.sql语句改表名 DB_PREFIX
Read More
posted @ 2016-04-03 20:30 哟风
Views(104)
Comments(0)
Diggs(0)
2016年1月26日
KindEditor编辑器的使用
1.下载KindEditor编辑器 以KindEditor 4.1.10为例.2.将下载解压完的KindEditor文件夹放在__ROOT__中.3.在thinkphp中的Index/index.html中添加以下代码: Document //加载kindeditor ...
Read More
posted @ 2016-01-26 00:43 哟风
Views(304)
Comments(0)
Diggs(0)
2015年12月19日
导航栏
navi.html 1 2 3 4 5 自己做的 6 7 8 9 10 11 12 栏目113 14 栏目1--菜单115 ...
Read More
posted @ 2015-12-19 18:32 哟风
Views(141)
Comments(0)
Diggs(0)
2015年12月15日
ajax php 验证注册用户名是否存在
1.在"test"数据库中,建立一张名为"user"的表. sql语句: 2.新建register.html文件 3.新建register.php文件
Read More
posted @ 2015-12-15 18:41 哟风
Views(1608)
Comments(0)
Diggs(0)
2015年11月2日
PS照片改底色
http://www.smzy.com/smzy/tech16353.html
Read More
posted @ 2015-11-02 22:19 哟风
Views(123)
Comments(0)
Diggs(0)
2015年10月22日
截取邮箱@后面内容的两种情况
1 1
Read More
posted @ 2015-10-22 20:50 哟风
Views(607)
Comments(0)
Diggs(0)
2015年10月8日
js导航栏单击事件背景颜色变换
1 2 3 无标题文档 4 15 37 38 39 40 41 Menu142 Menu243 Menu344 Menu445 Menu546 47 48 49
Read More
posted @ 2015-10-08 22:05 哟风
Views(2120)
Comments(0)
Diggs(0)
2015年10月5日
model中的自动验证 $_validate $_auto
普通模式: 1 动态绑定模式: 1 display(); 6 } 7 8 public function index(){ 9 $user = D('User');10 $validate = array( 11...
Read More
posted @ 2015-10-05 22:19 哟风
Views(818)
Comments(0)
Diggs(0)
一对一关联模型,HAS_ONE
1 class UserModel extends RelationModel{2 protected $_link = array(3 'Profile'=> HAS_ONE, //就这一行就行了 4 );5 }注:比如这是一个人员只有一份人事档案的例子Profile...
Read More
posted @ 2015-10-05 16:31 哟风
Views(244)
Comments(0)
Diggs(0)
一对多关联模型,BELONGS_TO
先分别创建三张表:test_user test_message test_user 表里有id、name字段test_message表里有id、content、uid字段然后建立一个Model 1 array( 5 'mapping_type' => BELONGS...
Read More
posted @ 2015-10-05 16:29 哟风
Views(341)
Comments(0)
Diggs(0)
下一页