1. Go to this page and download the library: Download aweitian/db-connection 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/ */
aweitian / db-connection example snippets
/**
*
* 设置为TRUE。异常由PDO对象抛出
* 默认为FALSE,异常由MysqlPdoConn对象抛出
*/
function setDebugMode($mode);
function transaction(\Closure $closure) #返回对象本身
function beginTransaction() #返回对象本身
function rollback() #返回对象本身
function commit() #返回对象本身
function getQueryLog() #返回对象本身
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.