1. Go to this page and download the library: Download 99designs/pheasant-adodb 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/ */
99designs / pheasant-adodb example snippets
# set up Pheasant connection
$pheasant = \Pheasant::setup('mysql://user@localhost/mydb');
$adodbConnection = new \PheasantAdodb\Connection($pheasant->connection());
# start using ADOdb API
$adodbConnection->Execute("SELECT 1,2,3")->GetAll();
# include compatibility files
eptions.inc.php');
# instantiate ADOdb, set fetch mode
$adodbConnection = ADONewConnection('mysql://user@localhost/mydb');
$adodbConnection->setFetchMode(ADODB_FETCH_ASSOC);
# start using ADOdb API
$adodbConnection->Execute("SELECT 1,2,3")->GetAll();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.