derick Tue Sep 2 05:48:35 2003 EDT
Modified files:
/phpdoc/en/reference/ibase/functions ibase-fetch-object.xml
ibase-field-info.xml
ibase-timefmt.xml
Log:
- Example layout fixes
Index: phpdoc/en/reference/ibase/functions/ibase-fetch-object.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-fetch-object.xml:1.4
phpdoc/en/reference/ibase/functions/ibase-fetch-object.xml:1.5
--- phpdoc/en/reference/ibase/functions/ibase-fetch-object.xml:1.4 Mon Sep 1
20:05:00 2003
+++ phpdoc/en/reference/ibase/functions/ibase-fetch-object.xml Tue Sep 2 05:48:35
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.9 -->
<refentry id="function.ibase-fetch-object">
<refnamediv>
@@ -21,7 +21,7 @@
<informalexample>
<programlisting role="php">
<![CDATA[
-<php
+<?php
$dbh = ibase_connect ($host, $username, $password);
$stmt = 'SELECT * FROM tblname';
$sth = ibase_query ($dbh, $stmt);
Index: phpdoc/en/reference/ibase/functions/ibase-field-info.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-field-info.xml:1.6
phpdoc/en/reference/ibase/functions/ibase-field-info.xml:1.7
--- phpdoc/en/reference/ibase/functions/ibase-field-info.xml:1.6 Mon Sep 1
12:59:22 2003
+++ phpdoc/en/reference/ibase/functions/ibase-field-info.xml Tue Sep 2 05:48:35
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.23 -->
<refentry id="function.ibase-field-info">
<refnamediv>
@@ -19,19 +19,21 @@
Returns an array with information about a field after a select
query has been run. The array is in the form of name, alias,
relation, length, type.
+ </para>
+ <para>
<informalexample>
<programlisting role="php">
<![CDATA[
<?php
-$rs=ibase_query("SELECT * FROM tablename");
-$coln = ibase_num_fields($rs);
-for ($i=0; $i < $coln; $i++) {
- $col_info = ibase_field_info($rs, $i);
- echo "name: ".$col_info['name']."\n";
- echo "alias: ".$col_info['alias']."\n";
- echo "relation: ".$col_info['relation']."\n";
- echo "length: ".$col_info['length']."\n";
- echo "type: ".$col_info['type']."\n";
+ $rs = ibase_query("SELECT * FROM tablename");
+ $coln = ibase_num_fields($rs);
+ for ($i = 0; $i < $coln; $i++) {
+ $col_info = ibase_field_info($rs, $i);
+ echo "name: ". $col_info['name']. "\n";
+ echo "alias: ". $col_info['alias']. "\n";
+ echo "relation: ". $col_info['relation']. "\n";
+ echo "length: ". $col_info['length']. "\n";
+ echo "type: ". $col_info['type']. "\n";
}
?>
]]>
Index: phpdoc/en/reference/ibase/functions/ibase-timefmt.xml
diff -u phpdoc/en/reference/ibase/functions/ibase-timefmt.xml:1.2
phpdoc/en/reference/ibase/functions/ibase-timefmt.xml:1.3
--- phpdoc/en/reference/ibase/functions/ibase-timefmt.xml:1.2 Wed Apr 17 02:38:51
2002
+++ phpdoc/en/reference/ibase/functions/ibase-timefmt.xml Tue Sep 2 05:48:35
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ibase.xml, last change in rev 1.2 -->
<refentry id="function.ibase-timefmt">
<refnamediv>
@@ -22,15 +22,17 @@
of the string. <parameter>columntype</parameter> is one of the
constants IBASE_TIMESTAMP, IBASE_DATE and IBASE_TIME. If omitted,
defaults to IBASE_TIMESTAMP for backwards compatibility.
+ </para>
+ <para>
<informalexample>
<programlisting role="php">
- <![CDATA[
- <?php
- // InterBase 6 TIME-type columns will be returned in
- // the form '05 hours 37 minutes'.
- ibase_timefmt("%H hours %M minutes", IBASE_TIME);
- ?>
- ]]>
+<![CDATA[
+<?php
+ /* InterBase 6 TIME-type columns will be returned in
+ * the form '05 hours 37 minutes'. */
+ ibase_timefmt("%H hours %M minutes", IBASE_TIME);
+?>
+]]>
</programlisting>
</informalexample>
</para>