PHP code example of iszmxw / mysql-markdown
1. Go to this page and download the library: Download iszmxw/mysql-markdown 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/ */
iszmxw / mysql-markdown example snippets
zmxw\MysqlMarkdown\Mysql;
// 配置数据库参数
$config = [
'dbs' => 'mysql',
'host' => '127.0.0.1',
'port' => 3306,
'charset' => 'utf8',
'name' => 'basicsapi_test',
'user' => 'basicsapi_test',
'password' => 'basicsapi_test',
];
Mysql::markdown($config);