tp5.1 How to arrange the data found in the data table according to your own wishes, and then display it in the front-end page table. The main thing is how to arrange the data later
replyNot this sort. What I mean is that the ID I found may be 1 5 10 14 15, but I gave it a variable ID myself, so that the order becomes 1 2 3 4 5. How to do this? It seems that mysqli cannot be used in tp5.1 wide frame. If you have mysqli, directly use the array cursor to directly transform
This is what we need to learn about mysql related knowledge
When the data is large, database optimization is very important. Index these creations
Is it okay to set an x that increases from 1 to display X on the page?
order by understand