mysql - Save editable database table -
i'm working on editable database tables how can save database?
this code save rows:
function saverow(otable, nrow) { var jqinputs = $('input', nrow); otable.fnupdate(jqinputs[0].value, nrow, 0, false); otable.fnupdate(jqinputs[1].value, nrow, 1, false); otable.fnupdate(jqinputs[2].value, nrow, 2, false); otable.fnupdate(jqinputs[3].value, nrow, 3, false); otable.fnupdate(jqinputs[4].value, nrow, 4, false); otable.fnupdate(jqinputs[5].value, nrow, 5, false); otable.fnupdate(jqinputs[6].value, nrow, 6, false); otable.fnupdate(jqinputs[7].value, nrow, 7, false); otable.fnupdate(jqinputs[8].value, nrow, 8, false); otable.fnupdate(jqinputs[9].value, nrow, 9, false); otable.fnupdate('<a class="edit" href="">edit</a>', nrow, 10, false); otable.fnupdate('<a class="proedit" href="">edit</a>', nrow, 11, false); otable.fnupdate('<a class="delete" href="">delete</a>', nrow, 12, false); otable.fndraw(); }
can show me example how save database ?
Comments
Post a Comment