Query: sqlsrv_close
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SQLSRV_CLOSE(3) SQLSRV_CLOSE(3) sqlsrv_close - Closes an open connection and releases resourses associated with the connectionSYNOPSISbool sqlsrv_close (resource $conn)DESCRIPTIONCloses an open connection and releases resourses associated with the connection.PARAMETERSo $conn - The connection to be closed.RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 sqlsrv_close(3) example <?php $serverName = "serverNamesqlexpres"; $connOptions = array("UID"=>"username", "PWD"=>"password", "Database"=>"dbname"); $conn = sqlsrv_connect( $serverName, $connOptions ); if( $conn === false ) { die( print_r( sqlsrv_errors(), true)); } //------------------------------------- // Perform database operations here. //------------------------------------- // Close the connection. sqlsrv_close( $conn ); ?>SEE ALSOsqlsrv_connect(3). PHP Documentation Group SQLSRV_CLOSE(3)
Related Man Pages |
---|
sqlsrv_send_stream_data(3) - php |
sqlsrv_client_info(3) - php |
sqlsrv_fetch_array(3) - php |
sqlsrv_free_stmt(3) - php |
sqlsrv_num_fields(3) - php |
Similar Topics in the Unix Linux Community |
---|
User Guide: Posting in the Emergency Forum |
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
Status of UNIX.COM Forum Transformation |
Please Welcome Nicki Paul to the Moderator Team! |