摘要:
php数据库取数据 jquery及ajax实现滑动请求加载 html页面 阅读全文
摘要:
1、什么是事务 事务是一条或多条数据库操作语句的组合,具备ACID,4个特点。 原子性:要不全部成功,要不全部撤销 隔离性:事务之间相互独立,互不干扰 一致性:数据库正确地改变状态后,数据库的一致性约束没有被破坏 持久性:事务的提交结果,将持久保存在数据库中 2、事务并发会产生什么问题 1)第一类丢失更新:在没有事务隔离的情况下,两个事务都同时更新一行数据,但是第二个事务却中途失败退... 阅读全文
摘要:
public function tianjia(){ $goods=D('Goods'); if(!empty($_POST)){ if($_FILES['f_goods_image']['error'] './Public/uploadss/', ... 阅读全文
摘要:
1 引用页写为 {pc:content action="lists" catid="10" order="updatetime DESC" thumb="0" num="1" page="$_GET['page']"} {loop $data $v} .... {/loop} {$pages} {/pc} 2 phpcms/libs/functions/g... 阅读全文
摘要:
1: select *from user where username='admin' and password='123456' or 1='1'; 万能密码 2: select *from user where username='admin' union select *from user ; 阅读全文
摘要:
<script type="text/javascript"> $(".col-xs-12 img").addClass("carousel-inner img-responsive img-rounded");</script> 阅读全文