Jump to content

Ajax MySQL?


Doyley

Recommended Posts

Try looking to see if the scriptaculous library has something that tracks when a block is moved, and everytime the block is moved, send the data set to a php page that can update a mysql field.  You then need to find out whether scriptaculous has a built in function for positioning the blocks before displaying them, and if it does, get the information using the php page, from the database and set the positions, then display the page.  I haven't used scriptaculous in a while, since there was no real need for it with what I do, but I do know what it is.  Just check to see if it has those functions and if it does, then you've got a starting place.  You need an onchange attribute, and a set position function, to start.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.