downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

cubrid_set_drop> <cubrid_seq_put
Last updated: Fri, 24 Sep 2010

view this page in

cubrid_set_add

(PECL CUBRID >= 8.3.0)

cubrid_set_addIs used to insert a single element

Description

int 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) you requested.

Parameters

conn_identifier

Connection identifier.

oid

Oid of the instance you want to work with.

attr_name

Name of the attribute you want to insert an element.

set_element

Content of the element you want to insert.

Return Values

TRUE, when process is successful.

FALSE, when process is unsuccessful.

Examples

Example #1 cubrid_set_add() example

<?php
cubrid_set_add 
($con$oid"friend""James");
cubrid_set_add ($con$oid"friend""Michael");
?>

See Also



add a note add a note User Contributed Notes
cubrid_set_add
There are no user contributed notes for this page.

cubrid_set_drop> <cubrid_seq_put
Last updated: Fri, 24 Sep 2010
 
 
show source | credits | sitemap | contact | advertising | mirror sites