php man page for cubrid_disconnect

Query: cubrid_disconnect

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CUBRID_DISCONNECT(3)							 1						      CUBRID_DISCONNECT(3)

cubrid_disconnect - Close a database connection

SYNOPSIS
bool cubrid_disconnect ([resource $conn_identifier])
DESCRIPTION
The cubrid_disconnect(3) function closes the connection handle and disconnects from server. If any request handle is not closed at this point, it will be closed. It is similar to the CUBRID MySQL compatible function cubrid_close(3).
PARAMETERS
o $conn_identifier -Connection identifier.
RETURN VALUES
TRUE, when process is successful. FALSE, when process is unsuccessful.
EXAMPLES
Example #1 cubrid_disconnect(3) example <?php $con = cubrid_connect ("localhost", 33000, "demodb"); if ($con) { echo "connected successfully"; $req = cubrid_execute( $con, "create table person(id int,name char(10))"); if ($req) { cubrid_close_request($req); cubrid_commit($con); } else { cubrid_rollback($con); } $req = cubrid_execute( $con, "insert into person values(1,'James')"); if ($req) { cubrid_close_request($req); cubrid_commit($con); } else { cubrid_rollback($con); } cubrid_disconnect($con); } ?>
SEE ALSO
cubrid_close(3), cubrid_connect(3), cubrid_connect_with_url(3). PHP Documentation Group CUBRID_DISCONNECT(3)
Related Man Pages
cubrid_close_prepare(3) - php
cubrid_drop(3) - php
cubrid_new_glo(3) - php
cubrid_pconnect_with_url(3) - php
cubrid_rollback(3) - php
Similar Topics in the Unix Linux Community
[req] hp ux HP0-091 csa certification study material
query on how to search for a line and read 4th word from that line
Problema con Sco 5.0.5 y corte de energĂ­a
Connection closed by foreign host
find . -name '*.req' -mtime +2 -exec rm {} \; not deleting files