maxdb_field_tell
Get current field offset of a result pointer
Description
Procedural style:
intmaxdb_field_tell
resourceresult
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.
&reftitle.returnvalues;
Returns current offset of field cursor.
&reftitle.seealso;
maxdb_fetch_field,
maxdb_field_seek
Example
Procedural style
name);
printf("Table: %s\n", $finfo->table);
printf("max. Len: %d\n", $finfo->max_length);
printf("Flags: %d\n", $finfo->flags);
printf("Type: %d\n\n", $finfo->type);
}
maxdb_free_result($result);
}
/* close connection */
maxdb_close($link);
?>
]]>
The above examples would produce the following output: