sqlite_is_valid_conn

mIRC SQLite

sqlite_is_valid_conn
Checks if a database connection is valid.
Syntax
$sqlite_is_valid_conn ( conn )
Parameters
conn
The connection identifier.
Return Value
1 if conn is a valid connection, 0 if it's invalid, or $null if there was an error.
Remarks
It is usually ok to ignore if $sqlite_is_valid_conn returns $null because the only case an error is returned is when conn isn't specified.