To detect eyes instead of using the group by clause in php/mysqli

Asked 1 years ago, Updated 1 years ago, 46 views

Sorry for the rudimentary question.

(Content) | (Date)
A|September 29, 2015
B | September 29, 2015
C | September 28, 2015

and the database, and I'd like to index the output by date.
What is the best practice to do?

Pagewise

9/29
A
B

9/28
C

I would like to line up with this.

php mysql

2022-09-30 11:43

1 Answers


without using group by, etc. Why don't you sort by date by order by?I think you can use php to determine where the date changes.


2022-09-30 11:43

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.