摘要: 下面是时间戳查询如果你数据库时间显示的是 2011-04-05 那就不需要 用 strtotime 时间戳转换函数1 $timea = strtotime($_POST['timea']);2 $timeb = strtotime($_POST['timeb']);3 $sq2="select * from `ecs_order_info` where add_time between '$timea' and '$timeb' and `quanxian`='$dangqian' order by `o 阅读全文
posted @ 2012-12-22 21:51 ShunYea 阅读(1203) 评论(0) 推荐(0) 编辑
摘要: 用jQuery的ajax方法,结合PHP,轻松实现省市级的二级联动:新建area.php 1 <? 2 $dbc=mysqli_connect("localhost","xxxx","xxxxxxxxxx","test") or die("can not connect to mysql ".mysqli_error()); 3 mysqli_query($dbc,"set names utf8"); 4 header("Content-Type:text/h 阅读全文
posted @ 2012-12-22 20:36 ShunYea 阅读(502) 评论(0) 推荐(0) 编辑