摘要: 阅读全文
posted @ 2019-01-15 15:46 开发者社区 阅读(116) 评论(0) 推荐(0)
摘要: 借助sql语句中的limit字句 以每页显示两条为例,说明pagesize=2,current表示当前页 第一页: select * from shopcz.cz_goods_type limit 0,2;第二页: select * from shopcz.cz_goods_type limit 2 阅读全文
posted @ 2019-01-13 20:46 开发者社区 阅读(422) 评论(0) 推荐(0)
摘要: 配置项中: 阅读全文
posted @ 2019-01-13 16:53 开发者社区 阅读(269) 评论(0) 推荐(0)
摘要: 其结果为: 阅读全文
posted @ 2019-01-13 16:18 开发者社区 阅读(132) 评论(0) 推荐(0)
摘要: <?phpheader("Content-type:text/html;charset=utf-8");$city=array( array('id'=>1,'name'=>'北京',"pid"=>0), array('id'=>2,'name'=>'广东',"pid"=>0), array('id 阅读全文
posted @ 2019-01-12 15:40 开发者社区 阅读(1539) 评论(0) 推荐(0)
摘要: 封装:第一层的意思,将属性和方法封装到一起,形成对象,第二层的意思,隐藏内部的实现细节对外提供可操作的接口(public的方法) 继承:子类可以通过继承,直接使用父类定义好的属性和方法(非私有的),extends,代码可重用. 多态:在不同的上下文中(语境),其表现不一样,php本身就是多态。 $a 阅读全文
posted @ 2019-01-08 18:27 开发者社区 阅读(303) 评论(0) 推荐(0)
摘要: 代码: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>画三角形</title> <style> #trip{ width:0px; height:0px; border-top:50px solid white 阅读全文
posted @ 2018-11-03 17:56 开发者社区 阅读(191) 评论(0) 推荐(0)