(PECL CUBRID >= 8.3.0)
cubrid_drop — Is used to delete an instance
The cubrid_drop() function is used to delete an instance from database by using oid.
Connection identifier.
Oid of the instance that you want to delete.
TRUE, when process is successful.
FALSE, when process is unsuccessful.
Example #1 cubrid_drop() example
<?php
$deloid = cubrid_get ($con, $oid, "order");
$res = cubrid_drop ($con, $deloid);
if ($res) {
cubrid_commit ($con);
} else {
cubrid_rollback ($con);
}
?>