How to update reordenated menu items in DB |
[eluser]Rubiz'[/eluser]
Good night all. My clients ( they really sucks ), want have a possibility to reorder the main site menu, and submenu. Ok. I added a column in DB called show_order, and got this jquery link http://dev.jquery.com/view/tags/ui/lates...i.sortable. Than, I serialized the list itens and send organized to form inputs called session[], so I have all items organized perfectly. My doubt is about how to update existent show_order in DB... If I have first: 1 2 3 4 5 Than the client changes it to: 2 4 5 3 1 ... Cant think a way to update database with it... Any idea? |
Messages In This Thread |
How to update reordenated menu items in DB - by El Forum - 06-22-2008, 05:43 PM
How to update reordenated menu items in DB - by El Forum - 06-22-2008, 06:30 PM
How to update reordenated menu items in DB - by El Forum - 11-28-2008, 09:01 AM
How to update reordenated menu items in DB - by El Forum - 11-29-2008, 08:04 AM
How to update reordenated menu items in DB - by El Forum - 11-29-2008, 09:06 AM
How to update reordenated menu items in DB - by El Forum - 11-29-2008, 09:49 AM
How to update reordenated menu items in DB - by El Forum - 11-30-2008, 07:38 AM
How to update reordenated menu items in DB - by El Forum - 11-30-2008, 07:45 AM
|