PHP code example of esol / db
1. Go to this page and download the library: Download esol/db 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/ */
esol / db example snippets
$array = array(
"value1" => "BMOPQ",
"value2" => "JRYOM"
);
$esolDb = new \Esol\Db\EsolDb("mysql_test", "./Resources/sql/select.sql");
OU directement en passant le tableau en paramètre de getArrayData