update('Commandes') ->set('statutCommande', '?', $_REQUEST['statutCommande']) ->set('commentaire', '?', $_REQUEST['commentaire']) ->where('idCommande = ?', $_REQUEST['idCommande']); //echo $q->getSql(); //print_r($q->getFlattenedParams()); echo $rows = $q->execute(); exit; } if(isset($_REQUEST['ajax'])) { ?>