downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SAMConnection::connect> <Fonctions SAM
[edit] Last updated: Fri, 17 May 2013

view this page in

SAMConnection::commit

(PECL sam >= 0.1.0)

SAMConnection::commit Valide le travail courant

Description

bool SAMConnection::commit ( void )

L'appel à la méthode "commit" sur un objet de connexion valide toutes les transactions courantes.

Valeurs de retour

Cette méthode retourne FALSE si une erreur survient.

Exemples

Exemple #1 Validation du travail courant

<?php
  
if (!$conn->commit()) {
    
// Échec de la validation !
    
echo "La validation a échoué : ($conn->errno$conn->error";
  }
?>



add a note add a note User Contributed Notes SAMConnection::commit - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites