Drag n Drop

Discussion on PERL and CGI concepts
no avatar
Posts: 2
Joined: Sat Mar 10, 2012 12:27 am

Drag n Drop

by typomaniac » Sat Mar 10, 2012 12:58 am

I need to know how to take a list which originates in a mysql db and use drag n drop to reorder the list(or even as shown below...reorder table cells) and save it to the database. The scheme for getting the list is no problem but I'm lost past that point.


[code]my $sth=$dbh->prepare("SELECT list_item,list_order from table");

print qq~
print qq~
My project is to build a photo gallery and I have the workings in mind how to do it but this part has me stuck. Any guidance would sure be appreciated.

Return to PERL and CGI