fdf_header
fdf_open_string
FDF Funkcje
PHP Manual

# fdf_next_field_name

(PHP 4, PHP 5)

fdf_next_field_name — Get the next field name

### Opis

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.

### Parametry

`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.

### Zwracane wartości

Returns the field name as a string.

### Przykłady

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

### Patrz także

- fdf_get_value()

fdf_header
fdf_open_string
FDF Funkcje
PHP Manual