diff --git a/functions/ibase.xml b/functions/ibase.xml
index 4685618450..06c3ed38d5 100644
--- a/functions/ibase.xml
+++ b/functions/ibase.xml
@@ -32,15 +32,36 @@
string
charset
+ int
+ buffers
+
+ int
+ dialect
+
string
role
- Establishes a connection to a InterBase server. The database argument
- has to be a valid path to database file. Username and password can also
+ Establishes a connection to an InterBase server.
+ The database argument
+ has to be a valid path to database file on the server it resides on.
+ If the server is not local, it must be prefixed with either
+ 'hostname:' (TCP/IP), '//hostname/' (NetBEUI) or 'hostname@' (IPX/SPX),
+ depending on the connection protocol used. username
+ and password can also
be specified with PHP configuration directives ibase.default_user and
- ibase.default_password. In case a second call is made to
+ ibase.default_password. charset is the default
+ character set for a database. buffers is the number
+ of database buffers to allocate for the server-side cache. If 0 or omitted,
+ server chooses its own default. dialect selects
+ the default SQL dialect for any statement executed within a connection
+ (currently non-functional, needed for forthcoming support for InterBase 6
+ SQL dialects).
+
+
+
+ In case a second call is made to
ibase_connect with the same arguments, no new link
will be established, but instead, the link identifier of the already opened
link will be returned. The link to the server will be closed as soon as the
@@ -59,6 +80,17 @@ ibase_close ($dbh);
+
+
+ buffers was added in PHP4-RC2.
+
+
+
+
+ dialect was added in PHP4-RC2. It is functional
+ only with InterBase 6 and versions higher than that.
+
+
role was added in PHP4-RC2. It is functional
@@ -279,13 +311,31 @@ ibase_close ($dbh);
Description
int ibase_execute
- int query
+ int
+ query
+
+ int
+ bind_args
+
-
- Execute a query prepared (and perhaps binded) by
- ibase_prepare and
- ibase_bind.
-
+
+ Execute a query prepared by ibase_prepare.
+
+
+$updates = array(
+ 1 => 'Eric',
+ 5 => 'Filip',
+ 7 => 'Larry'
+);
+
+$query = ibase_prepare("UPDATE FOO SET BAR = ? WHERE BAZ = ?");
+
+while (list($baz, $bar) = each($updates)) {
+ ibase_execute($query, $bar, $baz);
+}
+
+
+
@@ -323,13 +373,9 @@ ibase_close ($dbh);
Sets the format of the datetime columns returned from queries.
+ Internally, it uses c-function strftime(), so refer to it's
+ documentation regarding to the format of the string.
-
-
- Ibase_timefmt is currently not functional
- in PHP4.
-
-