Query: fdf_next_field_name
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FDF_NEXT_FIELD_NAME(3) 1 FDF_NEXT_FIELD_NAME(3) fdf_next_field_name - Get the next field nameSYNOPSISstring fdf_next_field_name (resource $fdf_document, [string $fieldname])DESCRIPTIONGets the name of the field after the given field. This name can be used with several functions.PARAMETERSo $fdf_document - The FDF document handle, returned by fdf_create(3), fdf_open(3) or fdf_open_string(3). o $fieldname - Name of the FDF field, as a string. If not given, the first field will be assumed.RETURN VALUESReturns the field name as a string.EXAMPLESExample #1 Detecting all fieldnames in a FDF <?php $fdf = fdf_open($HTTP_FDF_DATA); for ($field = fdf_next_field_name($fdf); $field != ""; $field = fdf_next_field_name($fdf, $field)) { echo "field: $field "; } ?>SEE ALSOfdf_get_value(3). PHP Documentation Group FDF_NEXT_FIELD_NAME(3)