06 2018 档案

摘要://查询数据库的商品表 public function getCats(){ $sql = "SELECT * FROM {$this->table}"; $cats = $this->db->getAll($sql); //调用递归方法递归商品表信息。商品表内部使用了自关联 return $thi 阅读全文
posted @ 2018-06-29 15:37 镇魂曲的修炼空间 阅读(78) 评论(0) 推荐(0)
摘要:str_repeat(); 重复的输出某个字符串。 例子:str_repeat("&nbsp",5); 阅读全文
posted @ 2018-06-28 16:28 镇魂曲的修炼空间 阅读(157) 评论(0) 推荐(0)