(PHP 4, PHP 5)
cubrid_col_size — Is used to get the number of elements
The cubrid_col_size() function is used to get the number of elements in a collection type (set, multiset, sequence) attribute.
Connection handle.
Oid the instance that you want to work with.
Name of the attribute that you want to work with.
Number of elements, when process is successful.
-1, when process is unsuccessful.
Example #1 cubrid_col_size() example
<?php
$elem_count = cubrid_col_size ($con, $oid, "tel");
echo "$oid (tel) has $elem_count elements\n";
?>