reference/mysqli/mysqli_result/fetch-field-direct.xml
5152c78db935ea2463e20a01ae0e3f3573314d78
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id="mysqli-result.fetch-field-direct" xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xml:id="mysqli-result.fetch-field-direct" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
4
4
<refnamediv>
5
5
<refname>mysqli_result::fetch_field_direct</refname>
6
6
<refname>mysqli_fetch_field_direct</refname>
...
...
@@ -51,65 +51,9 @@
51
51
if no field information for specified <parameter>index</parameter> is
52
52
available.
53
53
</para>
54
-
<para>
55
-
<table xml:id="mysqli-result.fetch-field-direct.returnvalues">
56
-
<title>Object attributes</title>
57
-
<tgroup cols="2">
58
-
<thead>
59
-
<row>
60
-
<entry>Attribute</entry>
61
-
<entry>Description</entry>
62
-
</row>
63
-
</thead>
64
-
<tbody>
65
-
<row>
66
-
<entry>name</entry>
67
-
<entry>The name of the column</entry>
68
-
</row>
69
-
<row>
70
-
<entry>orgname</entry>
71
-
<entry>Original column name if an alias was specified</entry>
72
-
</row>
73
-
<row>
74
-
<entry>table</entry>
75
-
<entry>The name of the table this field belongs to (if not calculated)</entry>
76
-
</row>
77
-
<row>
78
-
<entry>orgtable</entry>
79
-
<entry>Original table name if an alias was specified</entry>
80
-
</row>
81
-
<row>
82
-
<entry>def</entry>
83
-
<entry>The default value for this field, represented as a string</entry>
84
-
</row>
85
-
<row>
86
-
<entry>max_length</entry>
87
-
<entry>The maximum width of the field for the result set. As of PHP 8.1, this value is always <literal>0</literal>.</entry>
88
-
</row>
89
-
<row>
90
-
<entry>length</entry>
91
-
<entry>The width of the field, as specified in the table definition.</entry>
92
-
</row>
93
-
<row>
94
-
<entry>charsetnr</entry>
95
-
<entry>The character set number for the field.</entry>
96
-
</row>
97
-
<row>
98
-
<entry>flags</entry>
99
-
<entry>An integer representing the bit-flags for the field.</entry>
100
-
</row>
101
-
<row>
102
-
<entry>type</entry>
103
-
<entry>The data type used for this field</entry>
104
-
</row>
105
-
<row>
106
-
<entry>decimals</entry>
107
-
<entry>The number of decimals used (for numeric fields)</entry>
108
-
</row>
109
-
</tbody>
110
-
</tgroup>
111
-
</table>
112
-
</para>
54
+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('mysqli-result.fetch-fields')/db:refsect1[@role='returnvalues']/db:table)">
55
+
<xi:fallback/>
56
+
</xi:include>
113
57
</refsect1>
114
58

115
59
<refsect1 role="examples">
116
60