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

search for in the

SAMConnection->connect()> <Fonctions SAM
Last updated: Fri, 14 Nov 2008

view this page in

SAMConnection->commit()

(No version information available, might be only in CVS)

SAMConnection->commit()Valide 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 Nov 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites