Home > Database > Mysql Tutorial > 关于php和mysql的一个问题!!!!!!!!!!!

关于php和mysql的一个问题!!!!!!!!!!!

WBOY
Release: 2016-06-06 09:40:59
Original
1020 people have browsed it

mysql

这是数据表的结构 和已经存的两条数据

图片说明

这是ajax的那个函数
$.ajax({
type:"post",
url: "select4.php",
data: {"#park_time4":$("#park_time4").val(),
"#leave_time4":$("#leave_time4").val()
},
}
这是要查的那个sql语句
$sql ="SELECT * FROM parking_info2 WHERE start_time=$_POST[park_time4] and
over_time=$_POST[leave_time4]";
我现在想查完后 把那一行的数据 输出到前端的界面 不知道怎么输出这一条数据!!!求大神指导 在线等。。。。。。。。。。。。。。。

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