copying selected rows to another database table
copying selected rows to another database table
![Mike-motiv8](https://secure.gravatar.com/avatar/de4777cca5eade806a3059760c2760e3/?default=https%3A%2F%2Fvanillicon.com%2Fde4777cca5eade806a3059760c2760e3_200.png&rating=g&size=120)
Is there a api or similar code i could use to copy selected rows to another database table? Or another table within the same database?
using this method, but open to suggestions i can do it in php but not js:
$('#dtBasicExample tbody').on( 'click', 'button', function (data, type, full) {
var data = table.row( $(this).parents('tr') ).data();
var $sID = data[0];
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I answered your same question in this thread:
https://datatables.net/forums/discussion/55192/buy-editor#latest
Kevin
I tried to delete afterwards but cound't see how. Appologies, new here
You can't. Its ok![:smile: :smile:](https://datatables.net/forums/resources/emoji/smile.png)
Kevin