1.sql语句改表名 DB_PREFIX Read More
posted @ 2016-04-03 20:30 哟风 Views(101) Comments(0) Diggs(0) Edit
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(298) Comments(0) Diggs(0) Edit
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(137) Comments(0) Diggs(0) Edit
1.在"test"数据库中,建立一张名为"user"的表. sql语句: 2.新建register.html文件 3.新建register.php文件 Read More
posted @ 2015-12-15 18:41 哟风 Views(1592) Comments(0) Diggs(0) Edit
http://www.smzy.com/smzy/tech16353.html Read More
posted @ 2015-11-02 22:19 哟风 Views(116) Comments(0) Diggs(0) Edit
1 1 Read More
posted @ 2015-10-22 20:50 哟风 Views(589) Comments(0) Diggs(0) Edit
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(2072) Comments(0) Diggs(0) Edit
普通模式: 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(805) Comments(0) Diggs(0) Edit
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(241) Comments(0) Diggs(0) Edit
先分别创建三张表: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(334) Comments(0) Diggs(0) Edit