mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
*** empty log message ***
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@20699 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
19ad88ba07
commit
258fb4a35f
1 changed files with 38 additions and 3 deletions
|
@ -4,6 +4,9 @@
|
|||
|
||||
<partintro>
|
||||
<para>
|
||||
Interbase is a popular database put out by Borland/Inprise. More information about Interbase
|
||||
is available at http://www.interbase.com. Oh, by the way, Interbase just joined the open
|
||||
source movement!
|
||||
</para>
|
||||
</partintro>
|
||||
|
||||
|
@ -33,7 +36,7 @@ $dbh = ibase_connect ($host, $username, $password);
|
|||
$stmt = 'SELECT * FROM tblname';
|
||||
$sth = ibase_query($dbh, $stmt);
|
||||
while ($row = ibase_fetch_object($sth)) {
|
||||
print $row->name . "\n";
|
||||
print $row->email . "\n";
|
||||
}
|
||||
ibase_close($dbh);
|
||||
</programlisting>
|
||||
|
@ -123,6 +126,38 @@ ibase_close($dbh);
|
|||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.ibase-fetch-object">
|
||||
<refnamediv>
|
||||
<refname>ibase_fetch_object</refname>
|
||||
<refpurpose></refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcdef>int <function>ibase_fetch_object</function></funcdef>
|
||||
<paramdef>int <parameter>result_id</parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Fetches a row as a psuedo-object from a result id obtained either by ibase_query or
|
||||
ibase_execute.
|
||||
<example>
|
||||
<programlisting role="php">
|
||||
$dbh = ibase_connect ($host, $username, $password);
|
||||
$stmt = 'SELECT * FROM tblname';
|
||||
$sth = ibase_query($dbh, $stmt);
|
||||
while ($row = ibase_fetch_object($sth)) {
|
||||
print $row->email . "\n";
|
||||
}
|
||||
ibase_close($dbh);
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>ibase_fetch_row</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.ibase-free-result">
|
||||
<refnamediv>
|
||||
<refname>ibase_free_result</refname>
|
||||
|
@ -175,7 +210,7 @@ ibase_close($dbh);
|
|||
Bind Parameters from a query prepared by <function>ibase_prepare</function>.
|
||||
</simpara>
|
||||
<note>
|
||||
<para><function>ibase_bind</function> is currently not functional </para>
|
||||
<para><function>ibase_bind</function> is currently not functional in PHP4 </para>
|
||||
</note>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
@ -229,7 +264,7 @@ ibase_close($dbh);
|
|||
Sets the format of the datetime columns returned from queries.
|
||||
</simpara>
|
||||
<note>
|
||||
<para><function>ibase_timefmt</function> is currently not functional </para>
|
||||
<para><function>ibase_timefmt</function> is currently not functional in PHP4</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue