(PECL CUBRID >= 8.3.0)
cubrid_set_add — Is used to insert a single element
The cubrid_set_add() function is used to insert a single element to a set type attribute (set, multiset) you requested.
Connection identifier.
Oid of the instance you want to work with.
Name of the attribute you want to insert an element.
Content of the element you want to insert.
TRUE, when process is successful.
FALSE, when process is unsuccessful.
Beispiel #1 cubrid_set_add() example
<?php
cubrid_set_add ($con, $oid, "friend", "James");
cubrid_set_add ($con, $oid, "friend", "Michael");
?>