<HTML ><HEAD ><TITLE >Ora_Commit</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK REL="HOME" TITLE="PHP Manual" HREF="manual.html"><LINK REL="UP" TITLE="Oracle functions" HREF="ref.oracle.html"><LINK REL="PREVIOUS" TITLE="Ora_ColumnType" HREF="function.ora-columntype.html"><LINK REL="NEXT" TITLE="Ora_CommitOff" HREF="function.ora-commitoff.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.ora-columntype.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.ora-commitoff.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.ora-commit" >Ora_Commit</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN20320" ></A >Ora_Commit -- commit an Oracle transaction</DIV ><DIV CLASS="refsect1" ><A NAME="AEN20323" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><P ></P ><CODE CLASS="FUNCDEF" >int ora_commit</CODE >(int conn);<P ></P ></DIV ><P >Returns true on success, false on error. Details about the error can be retrieved using the <A HREF="function.ora-error.html" ><B CLASS="function" >ora_error()</B ></A > and <A HREF="function.ora-errorcode.html" ><B CLASS="function" >ora_errorcode()</B ></A > functions. This function commits an Oracle transaction. A transaction is defined as all the changes on a given connection since the last commit/rollback, autocommit was turned off or when the connection was established.</P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.ora-columntype.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="manual.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.ora-commitoff.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Ora_ColumnType</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.oracle.html" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Ora_CommitOff</TD ></TR ></TABLE ></DIV ></BODY ></HTML >