1. Go to this page and download the library: Download patrick-hull/mysql-wrapper library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
patrick-hull / mysql-wrapper example snippets
use PatrickHull\MysqlWrapper\DbConnection;
$dbConnection = new DbConnection('server_address', 'username', 'password');
$link = $dbConnection->connect();
use PatrickHull\MysqlWrapper\DeleteQuery;
$deleteQuery = new DeleteQuery($link);
$deleteQuery->database = 'your_database';
$deleteQuery->table = 'your_table';
$deleteQuery->criteria = ['column_name' => 'value'];
$result = $deleteQuery->Execute();