cubrid_seq_insert
(PECL CUBRID >= 8.3.0)
cubrid_seq_insert — Is used to insert an element to a sequence
Description
   int cubrid_seq_insert
    ( resource $conn_identifier  
   , string $oid  
   , string $attr_name  
   , int $index  
   , string $seq_element  
   )
  The cubrid_col_insert() function is used to insert an element to a sequence type attribute in a requested location.
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 instance to. 
- index
- 
Location of the element, you want to insert the element to (1-based). 
- seq_element
- 
Content of the element that you want to insert. 
Return Values
TRUE, when process is successful.
FALSE, when process is unsuccessful.
Examples
Example #1 cubrid_seq_insert() example
<?php
cubrid_seq_insert ($con, $oid, "tel", 1, "02-3430-1200");
cubrid_seq_insert ($con, $oid, "tel", 1, "02-3430-1300");
?>
See Also
- cubrid_seq_drop() - Is used to delete an element
- cubrid_seq_put() - Is used to update the content