array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.fdf-next-field-name.php', 1 => 'fdf_next_field_name', ), 'up' => array ( 0 => 'ref.fdf.php', 1 => 'FDF İşlevleri', ), 'prev' => array ( 0 => 'function.fdf-header.php', 1 => 'fdf_header', ), 'next' => array ( 0 => 'function.fdf-open-string.php', 1 => 'fdf_open_string', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fdf/functions/fdf-next-field-name.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5 < 5.3.0, PECL fdf SVN)
fdf_next_field_name — Get the next field name
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 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.
Returns the field name as a string.
Örnek 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";
}
?>