Saving drag and drop location in sql

Are there any simple tutorials for saving items x and y locations in a drag and drop list into a mysql database?