上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: 数字转布尔:非0都是true 字符串转布尔:非空都是true,0除外 布尔转数字:true为1,false为0 字符串转数字:空为0,非空判断数字在前为数字否则为0 布尔转字符串:true为1,false为0 数字转字符串:原样输出 阅读全文
posted @ 2016-10-28 18:07 爱编程1314 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 服务器创建的项目信息数组 echo $_SERVER['SERVER_NAME'];//输出服务器名称:localhost 阅读全文
posted @ 2016-10-28 17:55 爱编程1314 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 先在php.ini文件里开放;extension=php_mysql.dll,去掉";" 然后配置扩展目 extension_dir = "F://php5.3/ext"。 1.创建数据库建表 2.原生的SQL连接 其运行结构如下: Name: harry Age: 20 Name: tony Ag 阅读全文
posted @ 2016-10-28 16:40 爱编程1314 阅读(192) 评论(0) 推荐(0) 编辑
摘要: ZendStudio EclipsePHP PhpStorm NetBeans 阅读全文
posted @ 2016-10-28 15:56 爱编程1314 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 先执行mysql安装程序,点击移除,然后再删除对应的安装路径,必要的时候还要删除注册表信息。 阅读全文
posted @ 2016-10-28 14:37 爱编程1314 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Apache环境配置好了,把项目放到网站根目录下的htdocs文件夹下,运行网站的时候不需要加上该文件夹的名称,Apache直接在上面找对应的项目 阅读全文
posted @ 2016-10-28 13:56 爱编程1314 阅读(247) 评论(0) 推荐(0) 编辑
摘要: $arr[$i+1]) { //判断数组大小,颠倒位置 $kong=$arr[$i+1]; $arr[$i+1]=$arr[$i]; $arr[$i]=$kong; } } } for($i=0;$i 阅读全文
posted @ 2016-10-28 13:07 爱编程1314 阅读(96) 评论(0) 推荐(0) 编辑
摘要: Thread thread=new Thread(new ThreadStart(m_Thread)); thread.Start(); void m_Thread() { MessageBox.Show("Hello World!"); } 阅读全文
posted @ 2016-10-26 17:55 爱编程1314 阅读(115) 评论(0) 推荐(0) 编辑
摘要: public PostForm() { InitializeComponent(); this.MouseWheel += PostForm_MouseWheel; } void PostForm_MouseWheel(object sender, MouseEventArgs e) { System.Drawing.Size t = pictureBox1.Si... 阅读全文
posted @ 2016-10-25 18:47 爱编程1314 阅读(186) 评论(0) 推荐(0) 编辑
摘要: public Form2() { InitializeComponent(); m_Timer(); } void m_Timer() { System.Timers.Timer t = new System.Timers.Timer(10000); //实例化Timer类,设置间隔时间为10000毫秒; t.Elapsed += new System.Time... 阅读全文
posted @ 2016-10-25 17:42 爱编程1314 阅读(136) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页