fdf_next_field_name
(PHP 4, PHP 5)
fdf_next_field_name — Restituisce il nome del campo successivo
Descrizione
string fdf_next_field_name
( resource $fdf_document
[, string $fieldname
] )
La funzione fdf_next_field_name() restituisce il nome del campo successivo al campo indicato in fieldname o il nome del primo campo se è impostato a NULL.
Example#1 Rilevazione di tutti i campi in un 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";
}
?>
Vedere anche fdf_enum_fields() e fdf_get_value().