(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.
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";
}
?>
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant