FDF_NEXT_FIELD_NAME(3) 1 FDF_NEXT_FIELD_NAME(3)
fdf_next_field_name - Get the next field name
SYNOPSIS
string fdf_next_field_name (resource $fdf_document, [string $fieldname])
DESCRIPTION
Gets the name of the field after the given field. This name can be used with several functions.
PARAMETERS
o $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 VALUES
Returns the field name as a string.
EXAMPLES
Example #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 ALSO
fdf_get_value(3).
PHP Documentation Group FDF_NEXT_FIELD_NAME(3)