maxdb_commit maxdb->commit Valide la transaction courante &reftitle.description; Style procédural : boolmaxdb_commit resourcelink Style orienté objet (méthode) : maxdb bool commit maxdb_commit valide la transaction courante pour la connexion à la base de données spécifiée par le paramètre link. &reftitle.returnvalues; &return.success; &reftitle.examples; Style orienté objet autocommit(FALSE); maxdb_report (MAXDB_REPORT_OFF); $maxdb->query("DROP TABLE mycustomer"); maxdb_report (MAXDB_REPORT_ERROR); $maxdb->query("CREATE TABLE mycustomer LIKE hotel.customer"); /* Insertion de quelques valeurs */ $maxdb->query("INSERT INTO mycustomer VALUES (3000,'Mrs','Jenny','Porter','10580','1340 N.Ash Street, #3')"); $maxdb->query("INSERT INTO mycustomer VALUES (3100,'Mr','Peter','Brown','48226','1001 34th Str., APT.3')"); /* Valide la transaction */ $maxdb->commit(); /* Fermeture de la connexion */ $maxdb->close(); ?> ]]> Style procédural ]]> L'exemple ci-dessus ne produit aucun affichage. &reftitle.seealso; maxdb_autocommit maxdb_rollback