PHP code example of smeeckaert / fw-orm
1. Go to this page and download the library: Download smeeckaert/fw-orm 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/ */
smeeckaert / fw-orm example snippets
$dsn = 'mysql:dbname=YOUR_DB;host=YOUR_HOST';
$user = 'YOUR USER';
$password = 'YOUR_PASSWORD';
\Orm\DB::init($dsn, $user, $password);