Cubrid Functions
PHP Manual

cubrid_seq_insert

(PHP 4, PHP 5)

cubrid_seq_insertIs used to insert an element to a sequence

Description

int cubrid_seq_insert ( int $conn_handle , 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_handle

Connection handle.

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 Functions
PHP Manual