搜索

大约有3项符合查询结果,库内数据总量为316项。(搜索耗时:0.0016秒) [XML]

1. 关于文件缓存的应用及设置 [100%]

...缓存不存在,需要对数据进行处理,重新生成缓存 $sql = 'select * from test where status = 1'; $list = $this->query($sql);//执行sql获取数组 //数据的处理因业务不同,写法也不同 file_put_contents($cacheFile,serialize($list)); } 2、第二种判断方式,生...

缓存 20220111

2. php面试题总结(一) [67%]

...。 ◆2.InnoDB 中不保存表的具体行数,也就是说,执行select count() from table时,InnoDB要扫描一遍整个表来计算有多少行,但是MyISAM只要简单的读出保存好的行数即可。注意的是,当count()语句包含 where条件时,两种表的操作是一样...

php 20171010

3. DB类基本操作 [54%]

..._connect($this->db_host,$this->db_user,$this->db_pwd); mysql_select_db($this->db_name); mysql_query('set names gbk'); } /** * @todo 关闭数据库连接 * Enter description here ... */ private function db_close() { mysql_close($this-&gt...

DB类基本操作 20151225