On the order of uploading data

problem description

    
  
  

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

topic description

sources of topics and their own ideas

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Dec.09,2021

is actually a little unclear what exactly are you going to do? Just according to the description of your problem, you can actually do this.
the data displayed on your page is not the data obtained directly from the backend, but a clone of the data later obtained from the backend, and then the cloned data is displayed in the table. At this time, no matter how you sort the table, your original data will remain the same, and there will be no problem in submitting it to the database at this time.


record the data passed down from the database in an array in advance, according to the unique identification of each piece of data.
for example, the data passed down from the database is
[{id:3,name: "xx"}, {id:4,name: "xxx"}]
in [3 4]. When uploading, you can add a sorting field to the


field and update the sorting field.
it is recommended to use a more accurate word, which is not called upload

.
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-1e483a1-66639.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-1e483a1-66639.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?