Jquery Drag/drop in php+thesql

drag and dropjquery

I am looking quite long for a solution for this. I found a great demo by Nathan Smith, using jQuery and interface to drag and drop favourites into a list.

The demo is here:
http://host.sonspring.com/dragdrop/

But how can I save the list to mysql database.

Best Answer

Use ajax to call a server side (php) script when an item is dropped. Pass that script the order of the table so it could update your MySQL.

P.S - You can also use jQuery UI for the drag/drop, it's very flexible.