Fork me on GitHub

Tag: array_merge

Tag Archives: array_merge

Use array_merge to reorder arrays

This one is pretty fun. Well, at least I think it is. I was working with jQuery UI Sortables the other day and getting the reordered elements from jQuery back in to PHP for reordering via Ajax I ended up with an array whose elements matched the array keys of the array that I needed […]

August 21, 2009 | PHP Scripting | 1 comment