|
cubrid_set_addInsert a single element to set type column using OID Description
bool cubrid_set_add
( resource
$conn_identifier
, string $oid
, string $attr_name
, string $set_element
)The cubrid_set_add function is used to insert a single element to a set type attribute (set, multiset, sequence) you requested. Parameters
Return Values
ExamplesExample #1 cubrid_set_add example
<?php The above example will output: array(3) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" } array(4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" } See Also
|