How to change menu order?

Is there a website. It has page editing menu. He write.
Using a library jquery.tablednd.js
Duck here. Each time you change menu DragDrop is sent to the backend request
menu[]=2&menu[]=1&menu[]=3
OR
menu[]=1&menu[]=2&menu[]=3
OR
menu[]=3&menu[]=1&menu[]=2
Figures is the menu identifier in the database, and the order in which it was written, this is the order which must be recorded in the database. But how to handle this , roughly speaking, the text - don't know. How do you do, do not tell me?
June 10th 19 at 14:34
2 answers
June 10th 19 at 14:36
You want to have someone read the documentation some left library You are using?
Well, if I don't understand, maybe someone here can help :/ - miguel.Frami commented on June 10th 19 at 14:39
June 10th 19 at 14:38
you will be surprised, but the server is on the order of get / post parameters not care

Find more questions by tags jQueryPHPJavaScript