fdf_get_value
PHP function
Edit on GitHub ✎
(PHP 4, PHP 5 < 5.3.0, PECL fdf SVN)
Get the value of a field
Description
fdf_get_value(resource $fdf_document, string $fieldname, int $which = -1): mixed
Gets the value for the requested field.
Parameters
fdf_documentThe FDF document handle, returned by
fdf_create(),fdf_open()orfdf_open_string().fieldnameName of the FDF field, as a string.
whichElements of an array field can be retrieved by passing this optional parameter, starting at zero. For non-array fields, this parameter will be ignored.
Return Values
Returns the field value.