上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 1、return返回之后不再往下走2、类里从一个方法到另一个方法 如果没有调用其变量,则不能引用这个变量 阅读全文
posted @ 2015-02-04 21:48 人间最美二月天 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 1、glob — 寻找与模式匹配的文件路径array glob ( string $pattern [, int $flags = 0 ] )2、目录函数opendir打开目录 readdir读取目录 closedir关闭目录 is_dir判断是否目录 mkdir创建目录 rmdir删除... 阅读全文
posted @ 2015-02-04 15:49 人间最美二月天 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1、ulink删除文件2、stripos查找内容3、 阅读全文
posted @ 2015-02-04 00:19 人间最美二月天 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1、file_get_contents获取文本或者网页的内容string file_get_contents ( string $filename [, bool $use_include_path = false [, resource $context [, int $offset = -1 [... 阅读全文
posted @ 2015-02-03 21:17 人间最美二月天 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 动画 6 50 51 52 53 54 55 56 57 阅读全文
posted @ 2015-02-02 20:27 人间最美二月天 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 引入:transform:**-webkit-transform:**-moz-transform:**以上加入图片里面的相关属性即可 阅读全文
posted @ 2015-02-02 19:09 人间最美二月天 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 思路原理代码如下: 1 prepare($sql) or die($mysqli->error); 9 //绑定参数10 $name="小倩";11 $password="xiaoqian";12 $email="aa@sohu.com";13... 阅读全文
posted @ 2015-01-06 15:57 人间最美二月天 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1 commit(false);10 $result1 = $mysqli->execute_dml($sql1);11 $result2 = $mysqli->execute_dml($sql2);12 if (!$result1 || !$result2) {13 ... 阅读全文
posted @ 2015-01-06 11:09 人间最美二月天 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 有一张银行账号表create table account(id int primary key,balance float);现在有一段php程序,要完成把1号10元钱,转到2号账号上事务基本:事务用于保证数据的一致性,它由一组相关的dml语句组成,该组的dml语句要么全部成功,要么全部失败。如:网... 阅读全文
posted @ 2015-01-06 10:37 人间最美二月天 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1 mysqli = new mysqli(self::$host,self::$root,self::$password,self::$dbname);21 if ($this->mysqli->connect_error) {22 # c... 阅读全文
posted @ 2015-01-05 23:12 人间最美二月天 阅读(271) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页