php-datepicker时间选择器,sql参数查询

WBOY
Release: 2016-06-02 11:29:50
Original
1500 people have browsed it

phpdatepickersqljquery

my97datepicker控件(其他控件也可),怎样将选中的开始和结束时间作为变量传递到服务器,进行 sql查询 (注:服务器端脚本php,数据库sqlsrv, jquery, json),然后将获取到的信息展示在页面中,求示例 

sql语句为
sql="select * from test where between Time '$startTime' and '$endTime' ORDER BY Time DESC"

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!