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: Thu, 26 Jun 2008

fdf_next_field_name

(PHP 4, PHP 5)

fdf_next_field_name — Get the next field name

Description

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.

Parameters

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.

Return Values

Returns the field name as a string.

Examples

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

See Also



add a noteadd a note User Contributed Notes
Get the next field name
There are no user contributed notes for this page.




<fdf_headerfdf_open_string>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs