05 2014 档案

摘要:在YII框架中,session持久化方法只需要调用login()方法就行了class loginAction extends CAction{ function run(){ $model=new UserForm(); if(isset($_POST['UserF... 阅读全文
posted @ 2014-05-24 23:16 粉条 阅读(209) 评论(0) 推荐(0)
摘要:foo bar baz$('li').index(document.getElementById('bar')); //1,传递一个DOM对象,返回这个对象在原先集合中的索引位置$('li').index($('#bar')); //1,传递一个jQuery对象$('li').index($('l... 阅读全文
posted @ 2014-05-24 23:12 粉条 阅读(238) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-05-19 02:03 粉条 阅读(182) 评论(0) 推荐(0)
摘要:display:inline-block 阅读全文
posted @ 2014-05-12 01:45 粉条 阅读(122) 评论(0) 推荐(0)
摘要:if(isset($_POST['Goods'])){ foreach($_POST['Goods'] as $_k =>$_v){ $model->$_k=$_v; } if($model->save()){ echo "success"; } } 阅读全文
posted @ 2014-05-12 00:17 粉条 阅读(601) 评论(0) 推荐(0)
摘要:1,在protected/config/main.php目录下修改如下目录'modules'=>array( // uncomment the following to enable the Gii tool 'gii'=>array( 'class'=>'system.gii.GiiMod... 阅读全文
posted @ 2014-05-10 16:12 粉条 阅读(364) 评论(0) 推荐(0)
摘要:1,把YII框架里面的framework复制粘贴到nginx目录下2,创建一个商城系统: 1)修改环境变量 制定php.exe的目录 2)C:\Users\Administrator>cdC:\Users\AdministratorC:\Users\Administrator>d:D:\... 阅读全文
posted @ 2014-05-03 22:54 粉条 阅读(567) 评论(0) 推荐(0)
摘要:http://ltp.cnblogs.com/articles/289705.htmlhttp://www.doc88.com/p-901962760259.html 阅读全文
posted @ 2014-05-02 15:20 粉条 阅读(103) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示