|
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
|
Most Referenced Functions » google_pagerank() » preg_replace() » imagecreatefrompng() » site_pageranks() » imagepng() » imagedestroy() » imagestring() » imagecolorallocate() » htmlentities() » preg_match() » fopen() » header() » getimagesize() » preg_match_all() » session_start() » htmlspecialchars() » ob_start() » ob_flush() » strstr() » flush() » strpos() » setcookie() » str_replace() » array2vars() » nl2br() » preg_split() » ereg() » ereg_replace() » urlencode() » readgzfile() Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m. |
PHP Functions
Function: sesam_disconnect (PHP 3 CVS only) sesam_disconnect -- Detach from SESAM connectionDescriptionbool sesam_disconnect ( void )Returns: always TRUE . sesam_disconnect() closes the logical link to a SESAM database (without actually disconnecting and unloading the driver). Note that this isn't usually necessary, as the open connection is automatically closed at the end of the script's execution. Uncommitted data will be discarded, because an implicit sesam_rollback() is executed. sesam_disconnect() will not close the persistent link, it will only invalidate the currently defined "catalog" , "schema" and "user" triple, so that any sesam function called after sesam_disconnect() will fail.
Example 1. Closing a SESAM connection
<?php
if (sesam_connect ("mycatalog", "myschema", "otto")) {
/* ... some queries and stuff ... */
sesam_disconnect();
}
?>
Related Function(s) |