FDF_SET_VALUE(3)							 1							  FDF_SET_VALUE(3)

fdf_set_value - Set the value of a field

SYNOPSIS
bool fdf_set_value (resource $fdf_document, string $fieldname, mixed $value, [int $isName]) DESCRIPTION
Sets the $value for the given field. PARAMETERS
o $fdf_document - The FDF document handle, returned by fdf_create(3), fdf_open(3) or fdf_open_string(3). o $fieldname - Name of the FDF field, as a string. o $value - This parameter will be stored as a string unless it is an array. In this case all array elements will be stored as a value array. o $isName - Note In older versions of the FDF toolkit last parameter determined if the field value was to be converted to a PDF Name (= 1) or set to a PDF String (= 0). The value is no longer used in the current toolkit version 5.0. For compatibility reasons it is still supported as an optional parameter beginning with PHP 4.3, but ignored internally. RETURN VALUES
Returns TRUE on success or FALSE on failure. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 4.3.0 | | | | | | | Support for arrays in the $value parameter was | | | added. | | | | +--------+---------------------------------------------------+ SEE ALSO
fdf_get_value(3), fdf_remove_item(3). PHP Documentation Group FDF_SET_VALUE(3)