mada9369 Posted January 8, 2009 Share Posted January 8, 2009 Currently, I'm trying to find information on how I could create a drag and drop script in php. I'm aware that JavaScript would be the language that I should use, but I'm not exactly sure. Ive tried "Scriptaculous", but that wasn't successful. Can someone please point me in the right direction? If you would like to talk to me on AIM, my SN is xwtfadamx. Quote Link to comment https://forums.phpfreaks.com/topic/140076-php-drag-drop/ Share on other sites More sharing options...
premiso Posted January 8, 2009 Share Posted January 8, 2009 It is straight javascript with PHP. What do you expect to do with this script? http://www.walterzorn.com/dragdrop/commands_e.htm That is a great script to use for Dragging and dropping. Quote Link to comment https://forums.phpfreaks.com/topic/140076-php-drag-drop/#findComment-732861 Share on other sites More sharing options...
mada9369 Posted January 8, 2009 Author Share Posted January 8, 2009 It is straight javascript with PHP. What do you expect to do with this script? http://www.walterzorn.com/dragdrop/commands_e.htm That is a great script to use for Dragging and dropping. Basically, I was going to use drag and drop for organizing friends. Like a top friends section. If that makes since.... So it has to be able to help put information into a database. Quote Link to comment https://forums.phpfreaks.com/topic/140076-php-drag-drop/#findComment-732866 Share on other sites More sharing options...
premiso Posted January 8, 2009 Share Posted January 8, 2009 It is straight javascript with PHP. What do you expect to do with this script? http://www.walterzorn.com/dragdrop/commands_e.htm That is a great script to use for Dragging and dropping. Basically, I was going to use drag and drop for organizing friends. Like a top friends section. If that makes since.... So it has to be able to help put information into a database. How good are you at Javascript and PHP? Really this should be pretty simple, you can either use AJAX to save the data when moved, or make a "Save" button and when clicked it saves the new organization. I know that this code: http://www.webreference.com/programming/javascript/mk/column2/ Would probably be more of the javascript code you are looking for. You just have to figure out how to post the new order to PHP. It really should not be too bad, but you may need to brush up on your javascript, but basically when the "save" button is pushed you send the current order to the php script. That or anytime a friend is changed you can use AJAX to update the DB automatically. EDIT:: And really http://www.google.com/search?hl=en&q=drag+and+drop+lists+php+javascript&btnG=Google+Search&aq=f&oq= There are plenty of scripts doing this... Quote Link to comment https://forums.phpfreaks.com/topic/140076-php-drag-drop/#findComment-732872 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.