getIdentite($_REQUEST['siren'], 0, false); echo $O['result']['Nom']; } catch (SoapFault $fault) { require_once 'soaperror.php'; processSoapFault($client,$fault,$tabInfo); } break; case 'comment': //Enregistrement du commentaire if ( isset($_REQUEST['submit']) && $_REQUEST['submit']=='comment' ){ require_once 'dbbootstrap.php'; setDbConn('sdv1'); $q = Doctrine_Query::create() ->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(); } else { ?>