上一页 1 2 3 4 5 6 7 ··· 9 下一页
insert into hi_user_score set hello_id=74372073,a=10001 on duplicate key update hello_id=74372073, a=10001如果在INSERT语句末尾指定了ON DUPLICATE KEY UPDATE,并且插入 Read More
posted @ 2016-07-22 11:00 不解凡忧 Views(183) Comments(0) Diggs(0) Edit
posted @ 2016-07-08 17:50 不解凡忧 Views(527) Comments(0) Diggs(0) Edit
原文地址:http://m.jb51.net/show/56492 这篇文章主要介绍了php之curl实现http与https请求的方法,分别讲述了PHP访问http网页与访问https网页的实例,以及相关的注意事项,需要的朋友可以参考下 本文实例讲述了php之curl实现http与https请求的 Read More
posted @ 2016-07-08 17:43 不解凡忧 Views(4930) Comments(0) Diggs(0) Edit
原地址:http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/05/3001148.html 这篇随笔应该说跟CentOS的学习关系不是很大,但是却关系到了我接下来的CentOS学习。。。。。。 自从在虚拟机中安装了CentOS以来,就想着能 Read More
posted @ 2016-06-30 16:56 不解凡忧 Views(408) Comments(0) Diggs(0) Edit
if($code!=200){ $user=new UserAuth(); $user->mobile=$register['mobile']; $user->password=md5($register['password']); $user->username=$register['userna Read More
posted @ 2016-06-30 09:41 不解凡忧 Views(2558) Comments(0) Diggs(0) Edit
源文件地址:http://www.cnblogs.com/lclq/p/5619271.html 1.下载安装VMware,我安装的是VMware 12.VMware从11开始不再支持32位系统,32位系统请安装10. VMware官方功能特性介绍http://www.vmware.com/cn/p Read More
posted @ 2016-06-29 11:00 不解凡忧 Views(7778) Comments(0) Diggs(0) Edit
原文地址:http://www.open-open.com/lib/view/open1431680242669.html 1.push git push命令用于将本地分支的更新,推送到远程主机。它的格式与git pull命令相仿。 注意,分支推送顺序的写法是<来源地>:<目的地>,所以git pu Read More
posted @ 2016-06-29 10:42 不解凡忧 Views(118) Comments(0) Diggs(0) Edit
$res = News::findOne($new_id)->toArray();yii框架的多表联查:controller层: //news 与 news_theme 是多对一的关系$infomsg=News::find()->with('newstheme')->asArray()->all() Read More
posted @ 2016-06-28 14:55 不解凡忧 Views(3886) Comments(0) Diggs(0) Edit
原作者:http://www.cnblogs.com/martin1009/archive/2011/11/11/2245794.html 1. 从www.apachefriends.org 上下载XAMPP for Windows的最新版本,我下的是XAMPP Windows 1.7.1 Inst Read More
posted @ 2016-06-27 09:43 不解凡忧 Views(321) Comments(0) Diggs(0) Edit
我们在开发项目中南面使用到session给和cookie,那么在yii中有他自己的规则 如下案例: session使用 function actionS1(){ echo $this->id." "; echo $this->action->id." "; 设置session,通过session组件 Read More
posted @ 2016-06-03 14:05 不解凡忧 Views(1065) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 7 ··· 9 下一页