Serveur Processing editing datas

Serveur Processing editing datas

IssaIssa Posts: 16Questions: 3Answers: 0
edited March 2013 in General
Hello,

well i m using datatables to see more 1800 lignes on a mysql database.

but now i need to edit some data.

Im using this page :
http://www.datatables.net/examples/data_sources/server_side.html

and that's works, but i need to edit some data how i can do that plese ?



For the moment i have but it's nor woking :

on the php server-precessing :


....
if ($aRow[ $aColumns[$i]] == 1){
$row[] = '';
}else
$row[] = '';
....


i had a chechbox like the databas says

and on my html page i use this script :
...


$('#example').on('change', 'input[type=checkbox]', function(e) {

console.log(this.name+' '+this.value+' '+this.checked);
$.post("checkbox.php", {id_prospect: ""+this.value+"",name:""+this.name+"",type: ""+this.checked}, function(data){ // on envoit la valeur du champ texte dans la variable post queryString au fichier ajax.php
console.log(data);
});
});

...


and my table on html :
...


Loading data from server


...

and that not working.

someone can help me please

Replies

This discussion has been closed.