Re: [PHP] changing order of items

2008-05-16 Thread Iv Ray
Jason Murray wrote: I am assuming that each time you click the up or down arrow you are re-loading the page (via a GET request). A simple solution to this, would be to adjust the URLs assigned to the up and down arrows to carry an extra variable, the item either directly above or directly below

Re: [PHP] changing order of items

2008-05-16 Thread Iv Ray
afan pasalic wrote: > But, actually, I need something more simple. Nothing "fancy" :D. I thought so from the beginning, just thought - it does not hurt to show different possibilities. May be you will not implement it now, but when you know about it, it might give you ideas in future. -- --

Re: [PHP] changing order of items

2008-05-16 Thread Iv Ray
Eric Butera wrote: I use this: http://developer.yahoo.com/yui/examples/dragdrop/dd-reorder.html Looks good. I still can't decide for one of these "big" libraries, prefer to use "small" things which I can fix/change, if the author does not have time or desire. -- -- PHP General Mailing Li

Re: [PHP] changing order of items

2008-05-15 Thread Jason Murray
On Thu, May 15, 2008 at 2:09 PM, afan pasalic <[EMAIL PROTECTED]> wrote: > this one bugs me for a while. how to change order. > > I have a list of tasks. by status, task could be 1 (todo) or 0 (done) - > status value stored in mysql. I can list tasks per status or all. > order number is stored in

Re: [PHP] changing order of items

2008-05-15 Thread robert
On May 15, 2008, at 11:58 AM, afan pasalic wrote: Eric Butera wrote: I use this: http://developer.yahoo.com/yui/examples/dragdrop/dd-reorder.html This one is good too. But, actually, I need something more simple. Nothing "fancy" :D. for something very simple how about add a drop down l

Re: [PHP] changing order of items

2008-05-15 Thread afan pasalic
Eric Butera wrote: > On Thu, May 15, 2008 at 2:49 PM, afan pasalic <[EMAIL PROTECTED]> wrote: > >> Iv Ray wrote: >> >>> afan pasalic wrote: >>> this one bugs me for a while. how to change order. I have a list of tasks. by status, task could be 1 (todo) or 0 (done) - >>

Re: [PHP] changing order of items

2008-05-15 Thread Eric Butera
On Thu, May 15, 2008 at 2:49 PM, afan pasalic <[EMAIL PROTECTED]> wrote: > > > Iv Ray wrote: >> afan pasalic wrote: >>> this one bugs me for a while. how to change order. >>> >>> I have a list of tasks. by status, task could be 1 (todo) or 0 (done) - >>> status value stored in mysql. I can list tas

Re: [PHP] changing order of items

2008-05-15 Thread afan pasalic
Iv Ray wrote: > afan pasalic wrote: >> this one bugs me for a while. how to change order. >> >> I have a list of tasks. by status, task could be 1 (todo) or 0 (done) - >> status value stored in mysql. I can list tasks per status or all. >> order number is stored in mysql too. >> the easiest way t

Re: [PHP] changing order of items

2008-05-15 Thread Iv Ray
afan pasalic wrote: this one bugs me for a while. how to change order. I have a list of tasks. by status, task could be 1 (todo) or 0 (done) - status value stored in mysql. I can list tasks per status or all. order number is stored in mysql too. the easiest way to change order is to have form fo

[PHP] changing order of items

2008-05-15 Thread afan pasalic
this one bugs me for a while. how to change order. I have a list of tasks. by status, task could be 1 (todo) or 0 (done) - status value stored in mysql. I can list tasks per status or all. order number is stored in mysql too. the easiest way to change order is to have form for each task where you