Ho provato a fare una modifica nel codice AJAX, da così:
Codice PHP:
$(document).ready(function(){      
$(function() {         
$(
"#contentLeft ul, #contentRight ul").sortable({ connectWith'.connSort'opacity0.9cursor'move'update: function() {             
var 
order = $(this).sortable("serialize") + '&action=updateRecordsListings';              
$.
post("sortoffer.php"order, function(theResponse){ 
$(
"#contentRight").html(theResponse);
         });
       }
    });
  });
}); 
a così:
Codice PHP:
$(document).ready(function(){      
$(function() {         
$(
"#contentLeft ul, #contentRight ul").sortable({ connectWith'.connSort'opacity0.9cursor'move'update: function() {             
var 
order = $("#contentRight").sortable("serialize") + '&action=updateRecordsListings';              
$.
post("sortoffer.php"order, function(theResponse){ 
$(
"#contentRight").html(theResponse);
         });
       }
    });
  });
}); 
e l'echo mi restituisce questo messaggio:
Warning: Invalid argument supplied for foreach() in D:\...\testing_et\sortoffer.php on line 13
La linea 13 è questa:
Codice PHP:
foreach ($updateRecordsArray as $idValue) {