PHP » GoLang |
login |
register |
about
|
GoLang maxdb_field_tell
request it (350)
GoLang replacement for PHP's maxdb_field_tell
[edit | history]
maxdb_field_tellmaxdb_result::current_field(PECL maxdb >= 1.0) maxdb_field_tell -- maxdb_result::current_field — Get current field offset of a result pointer DescriptionProcedural style
int maxdb_field_tell
( resource
$result
)Object oriented style int $maxdb_result->current_field;
Returns the position of the field cursor used for the last maxdb_fetch_field() call. This value can be used as an argument to maxdb_field_seek(). Return ValuesReturns current offset of field cursor. ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: Column 1: Name: NAME Table: max. Len: 10 Flags: -1 Type: 2 Column 2: Name: CNO Table: max. Len: 4 Flags: -1 Type: 0 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|