PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<fdf_headerfdf_open_string>
Last updated: Mon, 16 Jul 2012

fdf_next_field_name

(PHP 3 >= 3.0.6, PHP 4, PHP 5)

fdf_next_field_name -- Get the next field name

Description

string fdf_next_field_name ( resource fdf_document [, string fieldname] )

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.

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

See also fdf_enum_fields() and fdf_get_value().




<fdf_headerfdf_open_string>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST