PHP.nl

fdf_next_field_name

fdf_next_field_name

Get the next field name

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.

fdf_document The FDF document handle, returned by , or . fdf_create``fdf_open``fdf_open_string

fieldnameName of the FDF field, as a string. If not given, the first field will be assumed.

Returns the field name as a string.

Voorbeeld: 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";
}
?>

fdf_get_value