The fdf_next_field_name() function returns the name of the field after the field in fieldname or the field name of the first field if the second parameter is NULL.
<?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 fdf_enum_fields() and fdf_get_value().
| This HTML Help has been published using the chm2web software. |