cubrid_set_drop
(PECL CUBRID >= 8.3.0)
cubrid_set_drop — Is used to delete an element
Description
int cubrid_set_drop
( resource $conn_identifier
, string $oid
, string $attr_name
, string $set_element
)
The cubrid_set_drop() function is used to delete an element that you request from the given set type (set, multiset) attribute of the database.
Parameters
- conn_identifier
-
Connection identifier.
- oid
-
Oid of the instance you want to work with.
- attr_name
-
Name of the attribute you want to delete an element from.
- set_element
-
Content of the element you want to delete.
Return Values
TRUE, when process is successful.
FALSE, when process is unsuccessful.
Examples
Example #1 cubrid_set_drop() example
<?php
cubrid_set_drop ($con, $oid, "friend", "James");
cubrid_set_drop ($con, $oid, "friend", "Michael");
?>