fdf_get_value

(PHP 4, PHP 5, PHP 7)

fdf_get_valueGet the value of a field

说锟斤拷

fdf_get_value ( resource $fdf_document , string $fieldname [, int $which = -1 ] ) : mixed

Gets the value for the requested field.

锟斤拷锟斤拷

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.

锟斤拷锟斤拷值

Returns the field value.

锟斤拷锟斤拷锟斤拷志

锟芥本 说锟斤拷
4.3.0 Support for arrays and the which parameter were added.

锟轿硷拷