by tarek71 » Wed Apr 01, 2009 11:46 pm
In your js file that handles the drag and drop, get the idpf the dragged item and the dropped item then pass these id to an ajax function which in turn passes them to php to update the database:
Ajax example:
ajax_UpdateSchedule(draggedid, droppedid);
PHP:
$sql = "Update table XXX set field1 = " . $_POST['draggedid'] . " Where field2=" . $_POST['droppedid'];
I hope this help. Let me know