05 2016 档案
摘要:http://www.ruanyifeng.com/blog/2016/05/time-management.html?bsh_bid=1086986778
阅读全文
摘要:<?php//app指的是网站的根目录//命名空间指的是文件存放的位置namespace app\controllers;//yii指的是网站根目录下vendor\yiisoft\yii2use yii\web\Controller;use app\models\Yonghu;use app\mod
阅读全文
摘要:<?phpuse yii\helpers\Html;?><?php// echo Html::beginForm();?><?=Html::beginForm('','post',['id'=>'addForm','class'=>'form','data'=>'fm']);?><?=Html::i
阅读全文
摘要:name password if you forget your password click here,please $name = $_POST['name']; $money = $_POST['password']; try { $pdo...
阅读全文
摘要:try { $pdo = new PDO("mysql:host->127.0.0.1;dbname=yangbo","root",""); $pdo->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION); }catch(PDOExcepti
阅读全文
摘要:127.0.0.1;dbname=yangbo","root",""); }catch(PDOException $PDOException){ echo "创建对象失败,数据库连接失败:".$PDOException->getMessage(); exit; } echo "创建对象成功,数据库连接成功";?> 127.0.0.1;dbname=yangbo","root"...
阅读全文