Home > PHP > Function > FDF > fdf_get_value()

fdf_get_value()

fdf_get_value - Get the value of a field

Syntax

mixed fdf_get_value (resource $fdf_document, string $fieldname, int $which)

Arguments

  • 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.
  • which - Elements of an array field can be retrieved by passing this optional parameter, starting at zero. For non-array fields, this parameter will be ignored.

Description

Gets the value for the requested field.

Version

PHP 4, 5

Return value

Returns the field value.