PHP code example of ismail0234 / pdodatabase

1. Go to this page and download the library: Download ismail0234/pdodatabase 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/ */

    

ismail0234 / pdodatabase example snippets



composer 


use IS\QueryBuilder\Database\PDOClient;

 Default: localhost
	'ip'        => 'localhost',
	// Database Name
	'database'  => 'databasename',
	// Database Engine Name oracle,mysql ...
	'dbengine'  => 'mysql',
	// Database Username
	'username'  => 'root',
	// Database Password
	'password'  => '123456',
	// Database Charset Default: utf8
	'charset'   => 'utf8',
	// Database table prefix Default: null
	'prefix'    => 'is_',
	// Database exception Default: on
	'exception' => true,
	// Database persistent connection timeout Default: false
	'persistent' => 30,
	// Database query log Default: off
	'querylog'  => false,
));




$db->debugOutput();

Output: