摘要:
Inversion of Control Containers and the Dependency Injection pattern In the Java community there's been a rush of lightweight containers that help to 阅读全文
摘要:
wget -c http://lamp.phpstudy.net/phpstudy.bin chmod +x phpstudy.bin #权限设置 ./phpstudy.bin #运行安装 阅读全文
摘要:
代码风格指南 本手册是基础代码规范(PSR-1)的继承和扩展。 为了尽可能的提升阅读其他人代码时的效率,下面例举了一系列的通用规则,特别是有关于PHP代码风格的。 各个成员项目间的共性组成了这组代码规范。当开发者们在多个项目中合作时,本指南将会成为所有这些项目中共用的一组代码规范。 因此,本指南的益 阅读全文
摘要:
mysql中,当我们用到聚合函数,如sum,count后,又需要筛选条件时,having就派上用场了,因为WHERE是在聚合前筛选记录的,having和group by是组合着用的 先查询分类cid下 id的统计数目 select cid,count(id) nums from table_name 阅读全文