MySQLDemo
in package
Table of Contents
Properties
- $db : mixed
Methods
- __construct() : mixed
- Constructor
- checkConnection() : bool
- Check the database connection status.
Properties
$db
private
mixed
$db
Methods
__construct()
Constructor
public
__construct() : mixed
Initializes the database connection.
checkConnection()
Check the database connection status.
public
checkConnection() : bool
Return values
bool —True if connected, false otherwise.