602SQL Documentation Index  

wb_binmode



boolean wb_binmode( resource cursor, integer new_value )


Parameters

cursor
Identifier of the cursor to edit. If 0, the default values will be modified.
new_value
New value of a parameter, one of the constants WB_CONVERT, WB_PASSTHRU and WB_RETURN .


Description

Sets the binmode parameter values for the specified cursor and for all cursors that will be created in the future. Description of this parameter can be found on the Manipulating variable-length types in PHP page.

Before the function is called, the default parameter values are taken according to the wb_binmode value in the php.ini file. If it is not set here, WB_CONVERT will be used.



Returns

TRUE if successful, otherwise FALSE.

Viz