Web Development Thread, PHP+MySQL Drag and Drop in Coding and Web Development; Hi,
At present the PHP page reads the MySQL data and prints on screen and if the result if 'FREE' ...
8th May 2012, 09:46 PM #1
PHP+MySQL Drag and Drop
At present the PHP page reads the MySQL data and prints on screen and if the result if 'FREE' it shows a clickable image for the user to book. I am looking for something that allows the user to drag the result they fund to another location with in the table. I.e. user has box 1 filled with their name, they can drag their name to box 9 and it saves it, so they can go back on the it will be their.
If anyone knows where I can firn maybe a tutorial, or guide to get started with this, as I have looked and cannot see anything.
IDG Tech News
9th May 2012, 09:43 AM #2
PHP has nothing to do with the dragging and dropping mark up, that will just handle the POST/GET requests from the JS.
Google it for a gazillion tutorials.
Thanks to InterwebsGuy from:
9th May 2012, 09:59 AM #3
You can do this with HTML5 now
10th May 2012, 06:08 PM #4
Thank you for the responses, it has given me an idea of where to start on where to look. The reason I asked about its intergration into PHP was because our current booking system is driven by this and runs the mysql queries
and display through PHP.
11th May 2012, 09:11 AM #5
Originally Posted by S_Hannah
PHP would work fine, as would any server side language, it doesn't really matter what you use as generally when the item has been 'dropped', the d&d syntax will send a POST or GET request off to a script - PHP if you like - to handle the action. How the PHP script acts is entirely up to you, as it is just like handling any other form submission really.
There is more to it, but in a nutshell that is how something like that works.
By localzuk in forum Coding
Last Post: 8th October 2010, 01:52 PM
By clareq in forum How do you do....it?
Last Post: 8th September 2010, 02:37 PM
Last Post: 9th September 2009, 12:17 PM
By Millsy79 in forum Windows
Last Post: 31st July 2008, 05:26 PM
By ITWombat in forum *nix
Last Post: 9th June 2008, 07:14 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)