Skip to main content

db_close

Discworld driver help

db_close

WARNING!!!!

Avoid using this on discworld at all costs. Please see db.h and mysql.c for information on how to use this. Use DB_HANDLER from db.h

Name

db_close() - close the connection to a database

Synopsis

int db_close( int handle );

Description

Do not use this! See warning above.

db_close() closes the connection to a database as represented by `handle'. It returns 1 on success.

Errors

A runtime error occurs in case of an invalid database handle.

See also

db_connect(), db_exec(), db_fetch()