PECL CUBRID >= 8.3.0
cubrid_put - Update a column using OID
Code Examples

cubrid_put( resource$conn_identifier, string$oid, [string$attr], mixed$value ): bool

The cubrid_put function is used to update an attribute of the instance of the given oid.

You can update single attribute by using string data type to set attr. In such case, you can use integer, floating point or string type data for the value argument. To update multiple number of attributes, you can disregard the attr argument, and set value argument with associative array data type.



Connection identifier.


OID of the instance that you want to update.


Name of the attribute that you want to update.


New value that you want to assign to the attribute.

Return Values

Returns true on success or false on failure.

Related Functions

Example of cubrid_put

Show all examples for cubrid_put

PHP Version:

Function cubrid_put:

CUBRID Functions

Most used PHP functions