Welcome Guest, Not a member yet? Register   Sign In
Drag and Drop...trying to make it happen
#7

[eluser]NateL[/eluser]
Thanks for the replies, and thanks Dyllon for taking to the time to do all that.

I found the Table Drag and Drop JQuery plugin (I think) and it looks like the PHP that it's running will simply run a ForEach loop if the position has been updated:

Code:
<?php
$result = $_REQUEST["table-3"];
foreach($result as $value) {
    echo "$value<br/>";
}
?&gt;

Is it efficient to run that loop with an update query inside it so that it updates all of the rows? or is that the "expensive" you were referring to, Jedd?


Messages In This Thread
Drag and Drop...trying to make it happen - by El Forum - 12-03-2009, 04:05 PM
Drag and Drop...trying to make it happen - by El Forum - 12-03-2009, 04:20 PM
Drag and Drop...trying to make it happen - by El Forum - 12-03-2009, 04:23 PM
Drag and Drop...trying to make it happen - by El Forum - 12-03-2009, 04:49 PM
Drag and Drop...trying to make it happen - by El Forum - 12-04-2009, 01:08 AM
Drag and Drop...trying to make it happen - by El Forum - 12-04-2009, 12:17 PM
Drag and Drop...trying to make it happen - by El Forum - 12-04-2009, 01:40 PM
Drag and Drop...trying to make it happen - by El Forum - 12-04-2009, 08:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB