GoLang fdf_next_field_name

request it (272)
GoLang replacement for PHP's fdf_next_field_name [edit | history]



Do you know a GoLang replacement for PHP's fdf_next_field_name? Write it!

PHP fdf_next_field_name

PHP original manual for fdf_next_field_name [ show | php.net ]

fdf_next_field_name

(PHP 4, PHP 5, PHP 7)

fdf_next_field_nameGet the next field name

Description

string fdf_next_field_name ( resource $fdf_document [, string $fieldname ] )

Gets the name of the field after the given field. This name can be used with several functions.

Parameters

fdf_document

The FDF document handle, returned by fdf_create(), fdf_open() or fdf_open_string().

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\n";
}
?>

See Also