Skip to main content

PHP+AJAX+MYSQL: Sort & Save using Drag & Drop (TABLE TR)


"Drag, Drop, Sort, Save
Drag & Drop: Move the draggable element by clicking on it with the mouse and dragging it anywhere within the viewport.
Sort: The sort order can be either alphabetic or numeric, and either ascending or descending.
      Here we had created demo that allow the user to drag and drop elements and quickly  and save them with PHP + MySQL+ AJAX +JQUERY on the server side.

Table of content
1) Drag and drop element on every click
2) Sort data on the server side using PHP+MYSQL
3) Great user interface and  easy to execute with a few lines of code

 
Steps:
Include Jquery files
jquery-1.6.4.min.js
jquery-ui.min.js

Jquery + Ajax code
Show Data from mysql
Sort.php file which is called by ajax request

Comments

  1. This is what iam searching on web. Nice Post on ASP.NET AJAX

    ReplyDelete
  2. Thanks. for this tutorial

    ReplyDelete
  3. Doesn't work:
    TypeError: jQuery("#sortThis").sortable is not a function. (In 'jQuery("#sortThis").sortable', 'jQuery("#sortThis").sortable' is undefined)
    (anonyme Funktion)PHP+MYSQL+AJAX+SORTING:23
    resolveWithjquery-1.6.4.min.js:1:15725
    readyjquery-1.6.4.min.js:1:10668
    Cjquery-1.6.4.min.js:1:15181

    ReplyDelete
  4. yepp... but no sql in source example.

    ReplyDelete
  5. what is filed of the sort and download the plz attach your crud database

    ReplyDelete
  6. very nice piece of information havent seen such a great blog

    thanks
    datastage training in hyderabad

    ReplyDelete

  7. Like different elements of India, numerous oil and spices usually cross into making food. This effects in substances getting caught to the partitions of the filter out.
    Visit here
    http://kitchenware.ml
    Best kitchen chimney installation and service
    Auto clean chimney sevice in Faridabad

    ReplyDelete
  8. Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision.

    CEH Training In Hyderbad

    ReplyDelete
  9. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.salesforce training in chennai

    software testing training course in chennai

    robotic process automation rpa training in chennai

    blockchain training in chennai

    devops training in chennai

    ReplyDelete
  10. Thank you for sharing this useful article with us. This blog is a very helpful to me in future. Keep sharing informative articles with us.

    https://www.ahmedabadcomputereducation.com/course/laravel-training-course/

    ReplyDelete
  11. Awesome blog for knowledge. Thank you for sharing this useful article. This blog is a very helpful to me. Keep sharing this type informative articles with us.

    https://www.france-collectivites.fr/

    ReplyDelete
  12. Awesome content for reading as well as knowledge. Thank you for sharing this informative article with us.

    https://www.sdsfin.in/about-us/

    ReplyDelete
  13. Awesome content for reading as well as knowledge. Thank you for sharing this informative article with us.
    b2b lead generation

    ReplyDelete

Post a Comment

Popular posts from this blog

Jquery form validation with ajax request

Include library <script src = "js/jquery.min.js" ></script> <script src = "js/jquery.validate.js" ></script> <?php $_SESSION [ 'code' ]= rand ( 1000 , 2000 ); ?>   <form name = "form-signup" id = "form-signup" method = "post" > <table width = "50%" > <tr> <td> Name </td> <td><input type = "text" name = "name" id = "name" class = "change" ></td> </tr> <tr> <td> Email </td> <td><input type = "text" name = "email" id = "email" class = "change" ></td> </tr> <tr> <td> Username </td> <td><input type = "text" name = "username" id = "username" class = "chan

Select Insert Update Delete With Image In Php MySQL

        CRUD with image upload is a very common task in web development ( CRUD stands for Create/Read/Update/Delete ). The main purpose of a CRUD is that enables user’s create/read/update/delete data using PHP & MYSQL. Table of Content Create Database Insert Record with image upload Show Record Edit Record Delete Record