Home > Backend Development > PHP Tutorial > How does mysql have historical record effect?

How does mysql have historical record effect?

WBOY
Release: 2016-10-11 14:23:25
Original
842 people have browsed it

This is it. I have made an order system
Each order will have a date

But how can I let him assume that there are orders on 2016-05-05? If I can click on this date, all the orders on 2016-05-05 will appear?
As long as there are orders on that day, there will be orders on that day. Date display
PHP

Reply content:

This is it. I have made an order system

Each order will have a date

But how can I let him assume that there are orders on 2016-05-05? If I can click on this date, all the orders on 2016-05-05 will appear?

As long as there are orders on that day, there will be orders on that day. Date display
PHP

Time list page, group according to time, list the time when there are orders.

Click on the time, query according to the time of the order, and list it.


<code>$sql = "select * from order where date =".$date;
$orders = mysql_query($sql,$conn); </code>
Copy after login
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