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

search for in the

SAMConnection->connect> <Fonctions SAM
Last updated: Fri, 14 Aug 2009

view this page in

SAMConnection->commit

(PECL sam >= 0.1.0)

SAMConnection->commitValide le travail courant

Description

SAMConnection
bool 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
There are no user contributed notes for this page.

SAMConnection->connect> <Fonctions SAM
Last updated: Fri, 14 Aug 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites