PHP Code Check If Database Connection Open/Active

Simple PHP Code to see if a Database Connection Exists and is Active Before Calling mysqli_close() to Close the Database Connection

Home Short:
S
H
A
R
E