Hi all,
I'm new to php and need to create an engine that moves items in a list up / down positions thought I am having trouble trouble getting the theory behind it right and the code too.
to give you an idea of what im doing, say this is the list
1 = a
2 = b
3 = c
etc
I want to move c to 1 and therefore a = b and b = 3 ...
If anyone has done this before and can lend a hand or show me an example like this I would most gratefull :-)