PHP code example of sysel / nette-database-myisam
1. Go to this page and download the library: Download sysel/nette-database-myisam 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/ */
sysel / nette-database-myisam example snippets
$options = [
'driverClass' => '\\Sysel\\Nette\\Database\\Drivers\\MySqlMyIsamDriver',
];
$connection = new \Nette\Database\Connection(
'mysql:host='.$servername.';dbname='.$database,
$user,
$password,
$options
);