自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(6)
  • 收藏
  • 关注

原创 yii使用网页

新浪云 http://blog.csdn.net/libinemail/article/list/1 李斌http://blog.sina.com.cn/libinemail 付仲云http://blog.csdn.net/qq_34018847

2016-03-31 10:43:15 305

原创 yii2批量入库

function many_file($file)     {         //echo count($file);die;         $arr = array();         foreach($file as $k=>$v)         {             $img = $v->name;             $images = 'uploads/'

2016-03-31 10:22:39 670

原创 yii2分页

控制器 namespace app\controllers; use yii\web\Controller; use yii\data\Pagination; use app\models\Country; class CountryController extends Controller{ public function actionIndex() {

2016-03-29 21:18:07 455

原创 yii2修改数据

yii2中model层修改数据写法 $username = $post['UpdateeForm']['username'];         $password= $post['UpdateeForm']['password'];         $email = $post['UpdateeForm']['email'];         $phone = $post['Upd

2016-03-29 20:13:53 1557

原创 yii2表单使用

Controller控制器层代码 [php] view plain copy  print?    namespace frontend\controllers;      use frontend\models\UserForm;   class UserController extends \yii\web\Controller

2016-03-29 16:25:36 2804

原创 yii2表单验证方法

model层的书写验证规则 return [ [['username','password','email','phone','images'],'required','message'=>'不能为空'], //验证唯一性 [['username'], 'unique','targetClass' => '\backend\models\Verification','message'=>

2016-03-29 12:23:25 8214

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除