Include Connection
This step involves including the connection file in your PHP code. The connect.php file is responsible for establishing the connection to your SwartzDB, making its functionalities available in your project.
Add the following code snippet to the PHP file where you plan to use SwartzDB:
require_once __DIR__ . '/SwartzDB/connect.php';
Including this file ensures that the database connection and necessary configurations are properly loaded.