ibase_close($dbLink);
?>
boolean ibase_rollback(integer link)
The ibase_rollback function causes a transaction to roll back. The default transaction
on the specified link is rolled back. The last link will be used if none is specified.
boolean ibase_timefmt(string format)
Use ibase_timefmt to set the format for datetime columns. The format string should
follow the rules of strftime. The default format is "%m/%d/%Y %H:%M:%S". The
strftime function is described in Chapter 11, "Time, Date, and Configuration
Functions."
integer ibase_trans(integer flags, integer link)
The ibase_trans function returns a transaction identifier. The flags can be any
combination of the constants listed in Table 13.5. Use | to combine them.
IBASE_DEFAULT matches InterBase read, write, snapshot, and wait properties. The link
argument is optional. The last connection established will be used if it's left out.
Table 13.5. InterBase Constants
IBASE_COMMITED
IBASE_CONSISTENCY
IBASE_DEFAULT
IBASE_NOWAIT
IBASE_READ
IBASE_TEXT
IBASE_TIMESTAMP
mSQL
The functions in this section communicate with mSQL, a database that implements a
subset of SQL. The official site is at http://www.hughes.com.au/. A site supporting
Windows versions of mSQL is at http://blnet.com/msqlpc/.
There are a handful of mSQL functions that exist simply for backward compatibility. I
have chosen to leave them out. Only some of them are documented in the official PHP 3
manual. Their use is described in the PHP 2 documentation. For reference they are msql,
msql_createdb, msql_dbname, msql_dropdb, msql_freeresult, msql_listdbs,
msql_list-fields, msql_listtables, msql_numfields, msqlnumrows, msql
selectdb, msql_tablename.