How to package some data pens into a collection, click on them, and then expand them according to the ID?

situation: uncertain orders are generated every day
suppose there are eight orders generated today

id / status

1 / 
2 / 
3 / 
4 / 
5 / 
6 / 
7 / 
8 / 

I use loops to change the status of these eight orders to "shipping"

.

question:
how can I turn these eight strokes into a collection? (storage)
when the assumption becomes shipping, I can give one of these eight ID
and then hang a date suppose 2018-11-11 16:40:00 (I turn these eight orders into shipping at this point in time)
and give an ID

suppose there were six strokes yesterday

id / status

11 / 
12 / 
13 / 
14 / 
15 / 
16 / 

I also change the status to shipping
will also generate a separate ID, and add a date such as 2018-11-10 11:32:00

so there will be a list on the other page that will display

2018-11-11 16:40:00
2018-11-10 11:32:00

when I click on 11-11, I can see the eight orders (related data)
when I click on 11-10, I can see the six
yesterday. How can this be achieved? How to collect the current operation? Give ID and display?

Dec.03,2021

I have solved the problem!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be9934-31998.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be9934-31998.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?