maxdb_kill
maxdb::kill
Disconnects from a MaxDB server
&reftitle.description;
&style.procedural;
boolmaxdb_kill
resourcelink
intprocessid
&style.oop;
boolmaxdb::kill
intprocessid
This function is used to disconnect from a MaxDB server specified
by the processid parameter.
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
&style.oop;
thread_id;
/* Kill connection */
$maxdb->kill($thread_id);
/* This should produce an error */
if (!$maxdb->query("CREATE TABLE myCity LIKE City")) {
printf("Error: %s\n", $maxdb->error);
exit;
}
/* close connection */
$maxdb->close();
?>
]]>
&style.procedural;
]]>
&example.outputs.similar;
&reftitle.seealso;
maxdb_thread_id