PHP code example of naif / nova-mysql
1. Go to this page and download the library: Download naif/nova-mysql 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/ */
naif / nova-mysql example snippets
public function tools()
{
return [
new NovaMysql()
];
}
CPANEL_HOST=YOUR_CPANEL_HOST_IP
CPANEL_DOMAIN=YOUR_DOMAIN_WITHOUT_HTTPS
CPANEL_PORT=MYSQL_PORT default 2083
CPANEL_USERNAME=YOUR_WEB_HOSTING_USERNAME
CPANEL_PASSWORD=YOUR_WEB_HOSTING_PASSWORD
CPANEL_PREFIX=YOUR_CPANEL_PREFIX prefix_DatabaseName